TutorialLab
HTML Media Tags
Home » Web Development » HTML Tutorials » HTML Media Embed Tags Usage

HTML Media Embed Tags Usage

HTML Media Embed Tags Usage:

Today we will  learn HTML Media Embed Tags Usage and we will discuss how to insert image, audio and video into your webpage in HTML. Also we will learn how to use iframe tag iframe tag is used for to embed another website or some specific area/part of another website into our website.

Image:

We can insert image into our webpage using <img> tag.This tag take some attributes which is ‘src’ , ‘alt’ , ‘height’ ,’width’ and ‘title’.<img> is singular tag.

AttributesDescription
srcSpecifies the URL of an image
heightSpecifies the height of an image
widthSpecifies the width of an image
altSpecifies an alternate text for an image
titleSpecifies Title of an image which is show when mouse hover to image

Audio:

We can add audio file to our webpage using <audio> tag. This tag take many attributes but ‘controls’ is required attribute we must have to add ‘controls’ attribute in audio tag.

Video:

We can add video file to our webpage using <video> tag. This tag take many attributes but ‘controls’ is required attribute we must have to add ‘controls’ attribute in video tag.

Iframe:

Iframe tag is used for to embed another website or some specific area/part of another website into our website. ‘scrolling=no’ attribute is used to remove scrollbar from embed area.

Previous Lecture

Aizaz Ali

HTML Tutorials