What is !DOCTYPE in HTML?

Hello Everyone👋👋

What is !DOCTYPE in HTML?

A doctype or document-type declaration is an instruction that tells the web browser about the markup language in which the current page is written. The doctype is not an element or tag, it lets the browser know about the version of or standard of HTML or any other markup language that is being used in the document. The DOCTYPE for HTML5 is case-insensitive and can be written as shown below:

#html #HTML5 #webpage #frotnend #software #developer #programming #code #doctype #br #tag #format #p #heading #body #href #img #div #span #h1 #h2 #h3 #h4 #h5 #h6 #anchor #emmets #backend #FullStack #link #header #footer #thead #tbody #paragraph #interview

Example:


Article content
<DOCTYPE html>


To view or add a comment, sign in

More articles by Kapil S.

Insights from the community

Others also viewed

Explore topics