DOCTYPE tests

The following links go to Ian Hickson's automated script that subjects browsers to a number of tests. It is my percetion that the test results are probably most relevant for Mozilla and other Gecko-based browsers. For other browsers, there may be contradictory or invalid results.

  1. The absence of a DOCTYPE
  2. An unknown DOCTYPE
  3. An unknown DOCTYPE with URI
  4. (nonversion)
  5. (nonversion + URI)
  6. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  7. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
  8. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  9. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
  10. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/html4/strict.dtd" >
  11. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
  12. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN" "http://www.w3.org/TR/REC-html40/frameset.dtd">
  13. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  14. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
  15. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
  16. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
  17. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
  18. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  19. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
  20. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
  21. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  22. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"
  23. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
  24. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/REC-html4/strict.dtd">
  25. <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">
  26. ( + URI)
  27. <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
  28. ( + URI)
  29. <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN">
  30. ( + URI)