What is the importance of HTML doctype?

devquora
devquora

Posted On: Feb 22, 2018

 

In an HTML document, the doctype is the first fundamental declaration even before the HTML tag. Doctype is quite different from the HTML tag as it is an instruction which is given to the web server about the version of the markup language in which the pages is written. It also refers to a document type definition which specifies all the limitations for the markup language. In this condition, the browser can render the contents accurately.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Web developer Interview Questions

    What according to you are the major responsibilities of a web developer?

    As a web developer, most of the time entire responsibility of the project is shouldered on us. Major of them are:..

    Web developer Interview Questions

    Explain what is CORS?

    CORS stands for the cross-origin resource sharing. It is actually a mechanism which enables the sources..

    Web developer Interview Questions

    As a web developer what do you think essential you should know?

    As a web developer, there are multiple tasks that have to be performed like designing, programming, developing..