Jump to content

Why DOCTYPE????


webspider25

Recommended Posts

Hi,I know what is doc type but what i want to know is that what if we will not use the doc type???What will be the effect on the web page we are using ???Please let me know the answer of my question.Bye
Yup, basically the doctype declaration tells the browser the standard of html/xhtml you are using to display your page. Without this the browser will basically guess how you want your page to be and display it how it thinks is best not neccesarily how you intend it to be. Admittedly, browsers are pretty good at this but if you want to guarantee your site displaying exactly as you want it and to meet w3c standards then you should/must put in a full doctype declaration.All the best.Justin
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...