# EPUBCheck HTM-047: Viewport metadata … has a syntax error

Source: https://epublab.com/epubcheck/htm-047/ (updated 2026-11-03)

EPUBCheck HTM-047 is an error message: “Viewport metadata "…" has a syntax error.” The viewport meta element of a fixed-layout document has a syntax error.

- Official message (EPUBCheck 5.4.0): Viewport metadata "%1$s" has a syntax error
- Default severity: Error

## Typical causes

- Wrong separators or misspelled keys in the content attribute.

## How to fix it

- Write it as content="width=1200, height=1600": width and height, each with a value, separated by a comma.

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