हिंदी

Inserting Audio and Video in HTML 5

Advertisements
  • Insertion Of Audio
  • Insertion Of Video

Inserting audio and video in HTML 5

HTML5 new specifications enables users to have a far more control over audio on webpages. HTML5 includes special elements (tags) allowing to include video and audio and to define controls. 

Insertion Of Audio 

The <audio> element enables you to embed (or add) audio files on web pages.  The control attribute is used to add audio controls such as play, pause and volume. The <source> tag is used to define multiple sources of an audio file. 

Insertion Of Video 

The HTML <video> tag is used to embed video into your web page, it has several video sources. There are three different formats that are commonly supported by web browsers – .mp4, .Ogg and .WebM. The <source> tag is used to define multiple sources of an audio file. 

If you would like to contribute notes or other learning material, please submit them using the button below.
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×