HTML 構文解析エラー エラーコード一覧

HTML 構文解析エラー に関するエラーメッセージの一覧を紹介します。


segment: space is not allowed.

Bad value Content-Style-Type for attribute http-equiv on element meta.

The align attribute on the div element is obsolete

The align attribute on the h1 element is obsolete. Use CSS instead.

The font element is obsolete. Use CSS instead.

The align attribute on the p element is obsolete. Use CSS instead.

The border attribute is obsolete. Consider specifying img { border: 0; } in CSS instead.

Legacy encoding shift_jis used. Documents should use UTF-8.

Consider avoiding viewport values that prevent users from resizing documents.

The character encoding was not declared.

Start tag seen without seeing a doctype first. Expected e.g. <!DOCTYPE html>.

No space between attributes.

Quote " in attribute name. Probable cause: Matching quote missing somewhere earlier.

= in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value.

Attribute [名前] is not serializable as XML 1.0.

Bad value [値] for attribute [名前] on element meta: Must not be empty.

Attribute [名前] not allowed on element meta at this point.

A slash was not immediately followed by >

Saw < when expecting an attribute name. Probable cause: Missing > immediately before.

Duplicate attribute name.

Bad character [文字] after <. Probable cause: Unescaped <. Try escaping it as <.

The width attribute on the table element is obsolete. Use CSS instead.

The border attribute on the table element is obsolete. Use CSS instead.

The bgcolor attribute on the td element is obsolete. Use CSS instead.

Stray end tag [タグ名]

Element style not allowed as child of element body in this context.

meta element between head and body.

Element head is missing a required instance of child element title.

Start tag head seen but an element of the same type was already open.

An img element must have an alt attribute, except under certain conditions.

Misplaced non-space characters inside a table.

Bad value <html name> for attribute href on element a: Illegal character in path segment: space is not allowed.

End tag p implied, but there were open elements.

Element p not allowed as child of element pre in this context.

Malformed byte sequence:

Element style not allowed as child of element ul in this context. (Suppressing further errors from this subtree.)

The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.