Posts

Showing posts with the label audio tag

How to use < audio > tag with preload attribute in HTML with Example

 How to use audio tag with preload attribute in HTML with Example  Preload attribute is used for  the audio should be  loaded when the page loads Example of  preload attribute with audio tag in HTML <body> <audio controls preload="none">   <source src="tiger.ogg" type="audio/ogg">   <source src="tiger.mp3" type="audio/mpeg"> </audio> </body>

How to use < audio > tag with muted attribute in HTML with Example

How to use < audio > tag with muted attribute in HTML with Example   The muted attribute is a boolean attribute. it is used for  audio output should be muted. Example of muted attribute with < audio > tag in HTML <body> <audio controls muted>   <source src="tiger.ogg" type="audio/ogg">   <source src="tiger.mp3" type="audio/mpeg"> </audio> </body>

How to use < audio > tag with loop attribute in HTML with Example

 How to use < audio > tag with loop attribute in HTML with Example  Loop attribute helps the audio will start over again,  every time it is finished. Example of loop attribute with <audio> tag in HTML <body> <audio controls loop>   <source src="tiger.ogg" type="audio/ogg">   <source src="tiger.mp3" type="audio/mpeg"> </audio> </body>

How to use < audio > tag with controls attribute in HTML with Example

 How to use < audio > tag with controls attribute  in HTML with Example  Audio controls attribute used for  Play Pause Seeking Volume Example How to controls attribute used with  < audio > tag in HTML <body> <audio controls>   <source src="tiger.ogg" type="audio/ogg">   <source src="tiger.mp3" type="audio/mpeg"> </audio> </body>

How to use < audio > tag with autoplay attribute in HTML with Example

 How to use < audio > tag with autoplay attribute  in HTML with Example  <body> <h1>The audio autoplay attribute</h1> < audio controls autoplay >   <source src="tiger.ogg" type="audio/ogg">   <source src="tiger.mp3" type="audio/mpeg"> </ audio > </body>

What is < audio > tag in HTML ?

 What is audio tag in HTML ? The <audio> tag is used to embed sound content in a document, such as music or other audio streams .