"."/> ".">
Home > Article > Web Front-end > Is video an HTML5 tag?
Video is a new tag of HTML5. This tag is used to define videos, such as movie clips or other video streams. Its usage is such as "”.
#The operating environment of this article: Windows 7 system, HTML5 version, Dell G3 computer.
Is video a tag of HTML5?
Note: Internet Explorer 8 and earlier versions do not support the
Tip: You can place text content between the start tag and the end tag, so that old browsers can display a message that the tag is not supported.
Example:
<!DOCTYPE HTML> <html> <body> <video src="/i/movie.ogg" controls="controls"> your browser does not support the video tag </video> </body> </html>
Recommended learning: "HTML5 Video Tutorial" | "HTML Video Tutorial"
The above is the detailed content of Is video an HTML5 tag?. For more information, please follow other related articles on the PHP Chinese website!