Home > Web Front-end > Front-end Q&A > What is the html5 video tag

What is the html5 video tag

WBOY
Release: 2021-12-17 17:25:33
Original
12072 people have browsed it

The video tag in html is "video". You can use the "video" tag to define a video in html. The syntax is ""; video The content wrapped in the tag will be displayed when the video path is wrong or the browser does not support it.

What is the html5 video tag

The operating environment of this tutorial: Windows 10 system, HTML5 version, Dell G3 computer.

What is the html5 video tag?

html5 What is the video tag

At the same time, the

The content inserted between the tags is provided for display by browsers that do not support the video element.

The

What is the html5 video tag

The example is as follows:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
<video src="/i/movie.ogg" controls="controls">
暂时没法播放
</video>
</body>
</html>
Copy after login

Output result:

What is the html5 video tag

Recommended tutorial: " html video tutorial

The above is the detailed content of What is the html5 video tag. 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