Category: 07. Media
-
Embed Multimedia
In the previous two chapters, we have used the <audio> and <video> elements to add music and videos into our web page. There is another alternative way to add videos, sounds and images or any other external content to the web site by using a special HTML tag called <embed>. This tag causes the browser itself to include controls for…
-
Audio Element
The <audio> element in HTML The <audio> element is used to enable the support of audio file within a web page. We can include multiple sources of audio, however, the browser will choose the most appropriate file automatically. Most of the attributes of <video> element is also compatible with the <audio> element. The most frequently used attributes of HTML…
-
Video Element
The <video> element in HTML The <video> element is used to enable video playback support within a web page. It works very similarly to the <img> element as it also requires adding the path or URL of the video within the src attribute. The HTML supports only MP4, WebM, and Ogg video formats. The <video> element also supports audio however, the <audio> element…