What is a doctype

Per HTML and XHTML standards, a DOCTYPE (short for “document type declaration”) informs the validator which version of (X)HTML you’re using, and must appear at the very top of every web page. DOCTYPEs are a key component of compliant web pages: your markup and CSS won’t validate without them.

why ?

http://www.w3schools.com/xhtml/xhtml_why.asp

doctype is manadatory

http://www.w3schools.com/xhtml/xhtml_dtd.asp

Ref :

http://en.wikipedia.org/wiki/XHTML

http://www.alistapart.com/articles/doctype/

http://en.wikipedia.org/wiki/XHTML

Advertisements

About rahul23134654

Hi, I am Rahul Meha , B.E. in (I.T.)
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s