What is the importance of DTD and how it affects the display of the web page page at runtime
views:
210answers:
2
A:
DTD defines the type of document and in particular the specific version of the HTML spec you intended to target.
AnthonyWJones
2009-04-07 13:42:14
+1
A:
As mentioned, this tells the browser what exact type of document (eg. HTML version) you are targeting. In particular some browsers have a "quirks mode" and a "strict mode" which both render (display) your HTML differently at runtime.
There is a somewhat useful DOCTYPE article on A List Apart to help you choose the right DTD.
andypaxo
2009-04-07 13:51:46
thats of gr8 4 somebody like me who have just started............thnx a lot
Vinay Pandey
2009-04-07 13:58:17