"; the content wrapped in the video tag will be in the video It is displayed when the path is wrong or the browser does not support it."/> "; the content wrapped in the video tag will be in the video It is displayed when the path is wrong or the browser does not support it.">

Home  >  Article  >  Web Front-end  >  What is the html5 video tag

What is the html5 video tag

WBOY
WBOYOriginal
2021-12-17 17:25:3312029browse

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>

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!

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