This tool is an ongoing experiment in better HTML checking, and its behavior remains subject to change

Showing results for index.html

Checker Input

Show

Uploaded files with xhtml or .xht extensions are automatically processed as XHTML.

Use the Message Filtering button below to hide/show particular messages, and to see total counts of errors and warnings.

  1. Error: Bad value CSWB110\index.html for attribute href on element a: Backslash ("\") used as path segment delimiter.

    From line 14, column 2; to line 14, column 30

    ><nav> <a href="CSWB110\index.html">CSWB11

    Syntax of URL:
    Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20. Common non-alphanumeric characters other than ! $ & ' ( ) * + - . / : ; = ? @ _ ~ generally must be percent-encoded. For example, the pipe character (|) must be encoded as %7C.
  2. Error: Bad value Other\index.html for attribute href on element a: Backslash ("\") used as path segment delimiter.

    From line 15, column 3; to line 15, column 29

    >&nbsp; <a href="Other\index.html">Other

    Syntax of URL:
    Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20. Common non-alphanumeric characters other than ! $ & ' ( ) * + - . / : ; = ? @ _ ~ generally must be percent-encoded. For example, the pipe character (|) must be encoded as %7C.
  3. Error: Stray end tag b.

    From line 17, column 3; to line 17, column 6

    &nbsp; </b></nav

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

    At line 25, column 1

    v><img src=""</main><foote

  5. Error: A slash was not immediately followed by >.

    At line 25, column 3

    <img src=""</main><footer>

  6. Warning: Attribute < is not serializable as XML 1.0.

    From line 24, column 1; to line 25, column 7

    e. </div><img src=""</main><foo

  7. Error: Bad value for attribute src on element img: Must be non-empty.

    From line 24, column 1; to line 25, column 7

    e. </div><img src=""</main><foo

    Syntax of URL:
    Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20. Common non-alphanumeric characters other than ! $ & ' ( ) * + - . / : ; = ? @ _ ~ generally must be percent-encoded. For example, the pipe character (|) must be encoded as %7C.
  8. Error: Attribute < not allowed on element img at this point.

    From line 24, column 1; to line 25, column 7

    e. </div><img src=""</main><foo

    Attributes for element img:
    Global attributes
    alt - Replacement text for use when images are not available
    src - Address of the resource
    srcset - Images to use in different situations (e.g., high-resolution displays, small monitors, etc)
    sizes - Image sizes between breakpoints
    crossorigin - How the element handles crossorigin requests
    usemap - Name of image map to use
    ismap - Whether the image is a server-side image map
    width - Horizontal dimension
    height - Vertical dimension
    longdesc - A url that provides a link to an expanded description of the image, defined in [html-longdesc]
  9. Error: Attribute main not allowed on element img at this point.

    From line 24, column 1; to line 25, column 7

    e. </div><img src=""</main><foo

    Attributes for element img:
    Global attributes
    alt - Replacement text for use when images are not available
    src - Address of the resource
    srcset - Images to use in different situations (e.g., high-resolution displays, small monitors, etc)
    sizes - Image sizes between breakpoints
    crossorigin - How the element handles crossorigin requests
    usemap - Name of image map to use
    ismap - Whether the image is a server-side image map
    width - Horizontal dimension
    height - Vertical dimension
    longdesc - A url that provides a link to an expanded description of the image, defined in [html-longdesc]
  10. Error: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.

    From line 24, column 1; to line 25, column 7

    e. </div><img src=""</main><foo

  11. Error: End tag for body seen, but there were unclosed elements.

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

    </footer></body></htm

  12. Error: Unclosed element main.

    From line 19, column 1; to line 19, column 6

    b></nav><main> <p>

Document checking completed.

Used the schema for HTML with SVG 1.1, MathML 3.0, RDFa 1.1, and ITS 2.0 support.

Used the HTML parser.

Total execution time 5 milliseconds.


About this checkerReport an issueVersion: 16.7.27