11.30. Introduction to HTML5

发布时间 : 2025-10-25 13:33:16 UTC      

Page Views: 9 views

Image0

HTML5 is the latest revised version of HTML, which was developed by the World wide Web Consortium (W3C) in October 2014.

HTML5 is designed to support multimedia on mobile devices.

HTML5 is easy to learn.

11.30.1. What is HTML5?

HTML5 is the next generation HTML standard.

The last version of HTML, HTML 4.01 was born in 1999. Since then, the Web world has undergone great changes.

HTML5 is still in the process of improvement. However, most modern browsers already have some HTML5 support.

11.30.2. How did HTML5 start?

HTML5 is the result of cooperation between W3C and WHATWG, and WHATWG refers to Web Hypertext Application Technology Working Group.

WHATWG focuses on web forms and applications, while the W3C focuses on XHTML 2.0. In 2006, the two sides decided to work together to create a new version of HTML.

Some interesting new features in HTML5:

  • Used for painting. canvas element

  • For media playback video and audio element

  • Better support for local offline storage

  • New special content elements, such as article, footer, header, nav, section

  • New form controls, such as calendar, date, time, email, url, search

11.30.3. HTML5

The declaration must be on the first line of the HTML5 document, and it is very simple to use:

 

11.30.4. The smallest HTML5 document

Here is a simple HTML5 document:

document titledocument content......    

Note: for Chinese pages, you need to use charset="utf-8"> declare the code, otherwise there will be garbled.

11.30.5. Improvement of HTML5

  • New element

  • New attribute

  • Full support for CSS3

  • Video and Audio

  • 2D/3D mapping

  • Local Stora

  • Local SQL data

  • Web application

11.30.6. HTML5 multimedia

With HTML5 you can simply play video (video) and audio (audio) on a web page.