The document type declaration identifies the document as an HTML5 document
The entire document is within the html element. The html element is called the root element because it contains all the elements in the document. Within the html element, the document is divided into a head and a body.
The head element contains descriptive information about the document itself, such as its title, the style sheet(s) it uses, scripts, and other types of "meta" information
The body element contains everything that we want to show up in the browser window
|<meta charset="UTF-8" />
This specifies the character encoding (the standardized collection of letters, numbers, and symbols) used in the document
Puts the name of the document in the title bar, helps search engines find your site, and if the name of bookmarked page
Creates an ordered (numbered or alphabetical) list
each numbered item in list
Creates an unordered (bullets only) list
each bulleted item in list
Creates preformatted text
Creates the largest headline
Creates the smallest headline
Emphasizes a word (italic)
Emphasizes a word (bold)
Creates a hyperlink
Creates a mailto link
Creates a target location within a document
Links to that target location from elsewhere in the document
Creates a new paragraph
Aligns a paragraph to the left, right, or center
Inserts a line break
Indents text from both sides
A generic tag used to format large blocks of HTML, also used for stylesheets
Adds an image
|<img src="name" align=?>
Aligns an image: left, right, center; bottom, top, middle
|<img src="name" border=?>
Sets size of border around an image
Inserts a horizontal rule
Sets size (height) of rule
Sets width of rule, in percentage or absolute value
Creates a rule without a shadow
|HTML5 Page Structure|
The header element is used for introductory material that typically appears at the beginning a page or at the top of a section or article.
The footer element is used to indicate the type of information that typically comes at the end of a page or article
The aside element identifies content that is related but tangential to the surrounding content. Aside can be used for pull quotes, background information, lists of links, callouts, or anything else that might be related (but not critical to) a document.
The section element has a broad range of uses, from dividing a whole page into major sections or identifying thematic sections within a single article.
Use the article element for self--contained works that could stand--alone or be reused in a different context. Long articles can be broken up in different sections. If the content is self--contained and could appear outside the current context, it is best marked up as an article.
The new nav element gives developers a semantic way to identify navigation for a site.
|HTML5 and Internet Explorer|
|<!--[if lt IE 9]>
Include this code before the <body> element (i.e. in the <head>) but doesn't matter if it appears before or after the CSS -- but for the sake of performance, it would make better sense to include the CSS first then this script.