
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
How to set the audio output of the video to mute in HTML?
Use the muted attribute to set the audio output of the video to mute. You can try to run the following code to implement muted attribute −
Example
<!DOCTYPE HTML> <html> <body> <video width = "300" height = "200" controls muted> <source src = "/html5/foo.ogg" type = "video/ogg" /> <source src = "/html5/foo.mp4" type = "video/mp4" /> Your browser does not support the video element. </video> </body> </html>
- Related Articles
- How to include the audio/video controls in HTML?
- HTML 5 video or audio playlist
- How to play audio and video file in iOS?
- How to specify if and how the author thinks the audio/video should be loaded when the page loads in HTML?
- How to specify that the audio/video will start over again, every time it is finished in HTML?
- Execute a script each time the volume of a video/audio is changed in HTML?
- How to set the output directory of TestNG @BeforeTest?
- What are the offline softwares to generate closed captions from audio/video?
- How do we set an image to be shown while the video is downloading in HTML?
- 7 audio cassettes and 3 video cassettes cost ₹ 1110, while 5 audio cassettes and 4 video cassettes cost ₹ 1350. Find the cost of an audio cassette and a video cassette.
- How do we specify that the audio/video will start playing as soon as it is ready in HTML?
- How to Create a Video and Audio Recorder with JavaScript MediaRecorder API?
- How to add video in HTML page?
- How to add an audio player to an HTML webpage?
- How to set the name of the element in HTML?

Advertisements