Jump to content
Sign in to follow this  
webspider25

Why DOCTYPE????

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...