ankitweblogic logo
W e b t u t o r i a l s

Directory Structure

DOCTYPE Declaration

Audio and Videos tag

YouTube Videos

Elements Removed

Semantic Elements

HTML5 Basic Structure

HTML5 New Elements

Create Element

Browser Support

HTML5 Form Element

HTML5 Audio tag

HTML5 Multimedia element Audio tag, Audio tag is use to apply some audio file in a webpage

Attribute Description
controls Hide/show the controls in a video
autoplayThis boolean attribute indicates if the media should start automatically.
loopSpecifies if the audio should be played continuously, a certain number of times or not at all.

HTML5 Multimedia Element - Video tag

HTML5 Multimedia element - Video tag is use to apply some video file in a webpage.
Attributes
• controls - Hide/show the controls in a video
• autoplay - This boolean attribute indicates if the media should start automatically.
• loop - Specifies if the audio should be played continuously, a certain number of times or not at all.
• width - Width of the video in pixels.
• height - Height of the video in pixels.