(X)HTML5 validation results for http://hsivonen.iki.fi/test/moz/elaboration-demo.xhtml

Validator Input
  1. Error: Required attributes missing on XHTML element img.

    From line 6, column 4; to line 6, column 9

    <body><p><img/></p><

    Element-specific attributes for element img:
    Global attributes
    alt
    src
    usemap
    ismap
    width
    height
  2. Error: Bad value en-UK for attribute xml:lang on XHTML element p: Bad region subtag.

    From line 7, column 1; to line 7, column 20

    img/></p><p xml:lang='en-UK'>

    Syntax of language tag:
    An RFC 4646 language tag consists of hyphen-separated ASCII-alphanumeric subtags. There is a primary tag identifying a natural language by its shortest ISO 639 language code (e.g. en for English) and zero or more additional subtags adding precision. The most common additional subtag type is a region subtag which most commonly is a two-letter ISO 3166 country code (e.g. GB for the United Kingdom). IANA maintains a registry of permissible subtags.
  3. Error: XHTML element legend not allowed as child of XHTML element figure in this context. (Suppressing further errors from this subtree.)

    From line 8, column 9; to line 8, column 16

    ><figure><legend>Foo</l

    Contexts in which element legend may be used:
    As the first child of a fieldset element.
    Content model for element figure:
    Either: One figcaption element followed by flow content.
    Or: Flow content followed by one figcaption element.
    Or: Flow content.
  4. Error: SVG element foo not allowed as child of XHTML element body in this context. (Suppressing further errors from this subtree.)

    From line 10, column 1; to line 10, column 9

    /details><svg:foo><baz/>

    Content model for element body:
    Flow content.
  5. Error: XHTML element bar not allowed as child of XHTML element body in this context. (Suppressing further errors from this subtree.)

    From line 11, column 1; to line 11, column 5

    /svg:foo><bar><baz/>

    Content model for element body:
    Flow content.

There were errors. (Tried in the XHTML mode.)

Total execution time 165 milliseconds.


About this ServiceMore options