Welcome to my basics page.

What is the purpose of the !DOCTYPE html tag?
It ensures the browser renders the page according to HTML5 specifications.
What are tags?
What is the purpose of the !DOCTYPE html tag?
It ensures the browser renders the page according to HTML5 specifications.
Compare and contract the head tags and body tags.
It is similar to the head and body elements in HTML. But the contents of the head element are not displayed on the page.

Click here to return to the notes homepage.

Click here to go to the topic in W3schools.