Document
HTML4 Document Declaration:
<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" "HTTP://WWW.W3.ORG/TR/HTML4/LOOSE.DTD" >
HTML5 Document Declaration:
<! DOCTYPE html>
HTML4 Meta:
<meta http-equiv= "Content-type" content:text/html "charset=" UTF-8 ">
HTML5 Meta:
<meta charset= "UTF-8" >
HTML5 new elementsElements:
The header element represents a chunk of content in the page or the title of the entire page.
<nav>Elements:
The nav element represents the navigation links section of the page.
<article>Elements:
The article element represents a separate piece of content in the page that is irrelevant, such as an article in a story.
<section>Elements:
A section element represents a piece of content area in a page, such as a header, footer, and so on. can also be used with HN (H1, H2,,) and so on, marking the structure of the document!
<aside>Elements:
The aside element represents the auxiliary information related to the contents of the aside element, and content!
<footer>Elements:
The footer element represents a page or a footer for a section of the page, such as the time the file was created, the author, the contact, and so on.
<time>Elements:
The time element represents a time or a date in a 24-hour period, which allows you to have slack when it is marked.
<pubdate>Property:
Pubdate can be used in the article element to indicate the time at which the current article was published.
HTML5 partial elements