Lesson 2 HTML Tag HTML5

Total Page:16

File Type:pdf, Size:1020Kb

Lesson 2 HTML Tag HTML5

Lesson 2 HTML Tag HTML5

HTML Tag Example

A simple HTML5 document: Title of the document

The content of the document......

Browser Support

The tag is supported in all major browsers.

Definition and Usage

The tag tells the browser that this is an HTML document. The tag represents the root of an HTML document. The tag is the container for all other HTML elements (except for the tag).

Differences Between HTML 4.01 and HTML5

HTML5 has added a new attribute: manifest.

Differences Between HTML and XHTML

The xmlns attribute is required in XHTML, but is invalid in HTML.

Reference: http://www.w3schools.com/tags/tag_html.asp Martin 2013

Recommended publications