I know all major browsers ignore it even though the HTML 3.2 and 4.0 specifications require it. But building a DOCTYPE line tells HTML validators which version of HTML you are using so they know which specification to check your document against. These validators are valuable debugging services, helping you catch HTML syntax errors.
All IT and Non IT Interview Questions, MCQs, Online Quiz Questions, Engineering VIVA Questions
Home » Unlabelled » When using servlets to build the HTML, you build a DOCTYPE line, why do you do that? | Java Servlets
Friday, 17 February 2012
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that? | Java Servlets
I know all major browsers ignore it even though the HTML 3.2 and 4.0 specifications require it. But building a DOCTYPE line tells HTML validators which version of HTML you are using so they know which specification to check your document against. These validators are valuable debugging services, helping you catch HTML syntax errors.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment