What is <!DOCTYPE> defines in HTML?

 Posted by Panks1984 on 9/7/2009 | Category: HTML 5 Interview questions | Views: 7094
Answer:

Doctype defines as "document type declaration" (DTD).

All HTML pages should contain a <!DOCTYPE> declaration to define which HTML version we are using in our page. it gives important instruction to web browser about page's HTML version type. It also allows web validator to check the syntax of page.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response

More Interview Questions by Panks1984