What is the concept of controls in html5
This article mainly introduces "what is the concept of controls in html5". In daily operation, I believe many people have doubts about the concept of controls in html5. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "what is the concept of controls in html5?" Next, please follow the editor to study!
In html5, controls represents audio and video playback controls and is an attribute in the audio and video tags; this attribute is a Boolean attribute that specifies that browsers provide playback controls for video or audio with a syntax of "or".
This article operating environment: Windows10 system, html5 version, Dell G3 computer.
What does controls mean in html5
The controls property of HTML is used to specify that audio and video controls must be displayed. It is a Boolean attribute and a new feature in HTML5. We can use this attribute in two tags and.
The controls property is a boolean (Boolean) attribute.
The controls property specifies that the browser should provide playback controls for the video.
If this property is set, it specifies that there is no script control set by the author.
Browser controls should include:
Play
suspend
Positioning
volume
Full screen switching
Subtitles (if available)
Audio tracks (if available)
Examples are as follows:
Your browser does not support video tags.
Output result:
At this point, the study of "what is the concept of controls in html5" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!