DOCTYPE tests

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