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

Showing results for http://www.example.com/

Checker Input

Show

  1. Info: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.

    From line 6, column 5; to line 6, column 28

    tle> <meta charset="utf-8" /> <

  2. Error: A document must not include both a meta element with an http-equiv attribute whose value is content-type, and a meta element with a charset attribute.

    From line 7, column 5; to line 7, column 73

    8" /> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <

  3. Info: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.

    From line 7, column 5; to line 7, column 73

    8" /> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <

  4. Info: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.

    From line 8, column 5; to line 8, column 74

    8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <

  5. Warning: The type attribute for the style element is not needed and should be omitted.

    From line 9, column 5; to line 9, column 27

    1" /> <style type="text/css"> b

  6. Warning: Consider adding a lang attribute to the html start tag to declare the language of this document.

    From line 1, column 16; to line 2, column 6

    type html><html><head

There were errors.

Source

  1. <!doctype html>
  2. <html>
  3. <head>
  4. <title>Example Domain</title>
  5. <meta charset="utf-8" />
  6. <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1" />
  8. <style type="text/css">
  9. body {
  10. background-color: #f0f0f2;
  11. margin: 0;
  12. padding: 0;
  13. font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  14. }
  15. div {
  16. width: 600px;
  17. margin: 5em auto;
  18. padding: 2em;
  19. background-color: #fdfdff;
  20. border-radius: 0.5em;
  21. box-shadow: 2px 3px 7px 2px rgba(0,0,0,0.02);
  22. }
  23. a:link, a:visited {
  24. color: #38488f;
  25. text-decoration: none;
  26. }
  27. @media (max-width: 700px) {
  28. div {
  29. margin: 0 auto;
  30. width: auto;
  31. }
  32. }
  33. </style>
  34. </head>
  35. <body>
  36. <div>
  37. <h1>Example Domain</h1>
  38. <p>This domain is for use in illustrative examples in documents. You may use this
  39. domain in literature without prior coordination or asking for permission.</p>
  40. <p><a href="https://www.iana.org/domains/example">More information...</a></p>
  41. </div>
  42. </body>
  43. </html>

Outline

<h1> Example Domain

Used the schema for HTML + SVG 1.1 + MathML 3.0 + RDFa 1.1.

Used the HTML parser. Externally specified character encoding was UTF-8.

Total execution time 9 milliseconds.


About this checkerReport an issueVersion: 24.5.11