Skip to content
EPUBCheck · XHTML content documents

HTM_060a

Updated:

EPUBCheck HTM_060a is a usage message: “EPUB reading systems must ignore secondary viewport meta elements in fixed-layout documents; viewport declaration "…" will be ignored.” A fixed-layout document has more than one viewport meta element; only the first counts and the others are ignored.

The official message

EPUB reading systems must ignore secondary viewport meta elements in fixed-layout documents; viewport declaration "%1$s" will be ignored.

Default severity
Usage. Informative only and hidden by default: it appears when EPUBCheck runs with -u (--usage). It does not make the EPUB invalid.
EPUBCheck version
5.4.0

EPUBCheck prints this ID with an underscore instead of a hyphen; this page uses the ID exactly as EPUBCheck reports it.

%1$s, %2$s… are filled in with the file, value or element EPUBCheck found.

Typical causes

  • Duplicated head content from a template.

How to fix it

  • Remove the extra viewport meta elements.

Terms used here

Other HTM messages

  • HTM_060b EPUB reading systems must ignore viewport meta elements in reflowable documents; viewport declaration "…" will be ignored.
  • HTM_061 "…" is not a valid custom data attribute (it must have at least one character after the hyphen, be XML-compatible, and not contain ASCII uppercase letters).
  • HTM_062 SVG "xlink:href" attribute is deprecated; an "href" attribute should be used instead.
  • HTM_057 Viewport "…" value must be a positive number or the keyword "device-…"
  • HTM_063 SVG "xlink:href" attribute value ("…") should be equal to the "href" attribute value ("…").
  • HTM_055 The "…" element should not be used (discouraged construct)

Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EPUBLab.

FAQ

What does EPUBCheck HTM_060a mean?

EPUBCheck HTM_060a is a usage message: “EPUB reading systems must ignore secondary viewport meta elements in fixed-layout documents; viewport declaration "…" will be ignored.” A fixed-layout document has more than one viewport meta element; only the first counts and the others are ignored.

Is HTM_060a an error?

HTM_060a is reported as usage by default. Informative only and hidden by default: it appears when EPUBCheck runs with -u (--usage). It does not make the EPUB invalid.