doctype in HTML5

What is doctype in HTML5?

The doctype is not a HTML tag and Its provide the instruction to the web browsers about what version of HTML page is going to written(load).


The <!doctype html> must be declare before the <html> tag and it's not case sensitive. The browser use this doctype information to render page correctly.

The doctype not have the opening and closing tag like html.

ANIL SINGH

Hey! I'm Anil Singh. I author this blog. I'm Active Blogger, Programmer. I love learning new technologies, programming, blogging and participating the forum discussions more...
http://www.code-sample.com
http://www.code-sample.xyz

You Might Also Like
Post a Comment
www.code-sample.com/. Powered by Blogger.