— Constantly updated

The W3C released the HTML5 working draft on January 22, 2008. HTML5 improves interoperability and reduces development costs by laying down precise rules on how to handle all HTML elements and how to recover from errors.

New features in HTML5 include the ability to embed audio, video, and graphics, client-side data storage, and interactive documents.

HTML5 also includes new elements such as

CSS activities

Css1 was released as a W3C recommendation on December 17, 1996. On January 11, 1999, this recommendation was revised.

Css2 was released as a W3C recommendation on January 11, 1999. Css2 adds support for media (printers and auditory devices) and downloadable fonts.

Css3 plans to break CSS into smaller modules.

Css4 starts with CSS3. Modules will be defined separately, for example CSS4 selectors can be defined in CSS3 modules.

HTML 5 new features

1 Semantic Labels

The label describe
header Define the header area of the document
footer Define the tail area of the document
nav Define the navigation of the document
section Define sections in a document
article Define page-independent content areas
aside Define the sidebar content of the page
details Used to describe the details of a document or part of a document
summary The tag contains the title of the Details element
dialog Define dialog boxes, such as prompt boxes

2 New form type

color
date
datetime
datetime-local
email
month
number
range
search
tel
time
url
week
Copy the code

3 Video and audio

audio
video
Copy the code

4 canvas drawing

5 SVG drawing

6 Geographical Positioning

Drag and drop API 7

8 Web Worker

9 Web Storage

10 WebSocket