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 |