HTML5 Concise Tutorial 1:Overview

The philosophy followed is to add more new features without breaking the original HTML rules, not only HTML tags, but also rich web application development that requires JavaScript support, as well as CSS3.

HTML5 will be divided into several chapters to introduce the new features of HTML5.

  1. HTML5 template

HTML5 document type, which triggers standard mode by default. If the document type is not defined, the browser will display the page in mixed mode. Different browsers have different mixed modes, which can lead to inconsistent display of the page in different browsers.

Specify the language for the page content, in English.

Define character encoding, which uses UTF-8 encoding and supports both Chinese and English.

Define an external style sheet and no longer require the type=”text/css” attribute.

Define JavaScript and no longer require the type=”application/JavaScript” attribute.

  1. New elements added

The semantic elements for building a page:

are all block level elements.

The semantic elements that identify text:

are all inline elements.

Web Forms and Interactions:

Audio, video, and plugins:

Drawing Canvas:

  1. Browser support

Recommended tools Through it, you can view the browser’s support for HTML5. such as