Tutorial by Examples

Use the HTML or <audio> element to embed video/audio content in a document. The video/audio element contains one or more video/audio sources. To specify a source, use either the src attribute or the <source> element; the browser will choose the most suitable one. Audio tag example: &...
HTML5 provides a new standard for embedding an audio file on a web page. You can embed an audio file to a page using the <audio> element: <audio controls> <source src="file.mp3" type="audio/mpeg"> Your browser does not support the audio element. </audi...
You can embed also a video to a webpage using the <video> element: <video width="500" height="700" controls> <source src="video.mp4" type="video/mp4"> Your browser does not support the video tag. </video>
Adding a video that will autoplay on a loop and has no controls or sound. Perfect for a video header or background. <video width="1280" height="720" autoplay muted loop poster="video.jpg" id="videobg"> <source src="video.mp4" type="...

Page 1 of 1