Home  >  Article  >  Web Front-end  >  What is HTML5?

What is HTML5?

(*-*)浩
(*-*)浩Original
2019-10-22 15:25:362292browse

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">

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>

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

Statement:
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