In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail what media elements there are in html5. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
The media elements in html5 are: 1, video element, used to define video in the document; 2, audio element, used to define sound in the document; 3, source element, used to define media resources for media elements (video, audio, etc.); 4, track element; 5, embed element.
The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.
Media elements in html5
HTML5 is very supportive of the media, supporting the following media elements:
Audio defines audio
Video defines video
Embed as a container for external applications
Source support for multiple media sources
Track defines text tracking for media
1. Video element
Tags define videos, such as movie clips or other video streams.
Src is the path that specifies the video file to be octagonal; controls is the control that provides playback, pause, and volume.
2. Audio element
Tags define sounds, such as music or other audio streams.
3. Source element
Tags define media resources for media elements such as and.
Tags allow you to specify replaceable video / audio files for browsers to choose based on their support for media types or codecs.
The purpose of the source tag is to set several formats for video or audio resources so that browsers can choose the format in which they can play.
4. Track element
Tags specify external text tracks for media such as video elements.
5. Embed element
Tags define embedded content, such as plug-ins.
This is the end of this article on "what are the media elements of html5". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.