"; 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
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.
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
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:
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!