Posts

Showing posts with the label preload attribute

How to use < video > tag with preload attribute in HTML ? with example

 How to use < video > tag with preload attribute in HTML ? with example  Preload attributes is used for   the video  should be loaded when the page loads. Example of <video> tag with preload attribute and controls attribute  <body> <video controls preload ="none">   <source src="techforum.mp4" type="video/mp4"> </video> </body>

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>