Ved Prakash Understanding the core markup - The DOCTYPE Element | codinggiri GuidePedia

The <!doctype html>

The !DOCTYPE Elemnt

Every HTML document starts with a doctype specification. The doctype element tells the browser that which version of html is used in that specific HTML document. This element does not have the closing tag .
Let me clear one very special thing that HTML is the language of TAGS and in html5 there are more than 400 tags are there. we will encounter them in next blog post
To declare  the docctype you have to write this :-
<!doctype html>

and you are good to go

Post a Comment