Home > Web Front-end > HTML Tutorial > What is HTML5?

What is HTML5?

(*-*)浩
Release: 2019-10-22 15:25:36
Original
2371 people have browsed it

What is HTML5?

What is HTML5?

##HTML5 is the latest HTML standard. (Recommended learning: html tutorial)

HTML5 is specially designed to carry rich web content and does not require additional plug-ins.

HTML5 has new semantics, graphics, and multimedia elements.

HTML5 provides new elements and new APIs that simplify building web applications.

HTML5 is cross-platform and designed to run on different types of hardware (PCs, tablets, mobile phones, TVs, etc.).

What’s new in HTML5?

HTML5’s new document type (DOCTYPE) declaration is very simple:

<!DOCTYPE html>
The new character encoding (charset) declaration is also very simple:
<meta charset="UTF-8">
Copy after login

Example

<!DOCTYPE html>
<html>
<body>
<video width="420" controls>
  <source src="mov_bbb.mp4" type="video/mp4">
  <source src="mov_bbb.ogg" type="video/ogg">
 Your browser does not support the video tag.
</video>
</body>
</html>
Copy after login

The above is the detailed content of What is HTML5?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template