Error found while checking this document as XHTML 1.0 Strict!

Result: 1 Error, 1 warning(s)
:
: iso-8859-1
: XHTML 1.0 Strict
Root Element: html
Options

Help on the options is available.

↑ Top

Validation Output: 1 Error

  1. Error Line 2, Column 1: Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml
    <html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-885…

    Many Document Types based on XML need a mandatory xmlns attribute on the root element. For example, the root element for XHTML might look like:
    <html xmlns="http://www.w3.org/1999/xhtml">

  2. Warning Line 5, Column 61: character "<" is the first character of a delimiter but occurred as data
    …"bla.png" width="dreizehn>zentimeter" height="sonst<irgendeintext" alt="bla" />

    This message may appear in several cases:

    • You tried to include the "<" character in your page: you should escape it as "&lt;"
    • You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    • Another possibility is that you forgot to close quotes in a previous tag.

↑ Top

Source Listing

Below is the source input I used for this validation:

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title></title></head>
  3. <body><p>
  4. <img src="bla.png" width="dreizehn>zentimeter" height="sonst<irgendeintext" alt="bla" />
  5. </p></body></html>

↑ Top