Skip to main content

How to insert image ,video,audio in html ?

 How to insert videos audios and images in websites ?

These are the most important tags because these tags are used from small websites to large marketing websites.

And by adding a video to website we can increase the views probability by 300% so learn properly how to add videos audios and images to website 

                    Image Tag

Image Tag is a tag by which we can insert images to html by the <image> tag ,this tag does not contain an end tag and we give some attributes like (src ) attribute in which we define the path of the image ,(width) and (height) attribute in which we give width and height of the image.

<Body>
<img src="gallery/taj.jpg"width="200px"height="50px">
</Body>

In src attribute we first give the name of file in which it is stored and then we give a forward slash (/) to separate then we give the image name with its extension.

                  Audio tag


We all know that audio tag is used to insert audios in this tag we use a control attributes , without this  attribute we cannot play that audio

 <Body>
<Audio  src="gallery/song.mp3" control="autoplay"width="200px"height="50px">
</Body>

                    Video  tag


This tag is also used as same as audio tag 
this tag also has a control attributes which is important to play the video 

 <Body>
<Video  src="gallery/video.mp4" control="autoplay"width="200px"height="50px">
</Body>

 Hope you like this series and 
If you had any quarry ask to me in the comment box.


                          Stay with me 

Comments

Popular posts from this blog

Heading tag,break tag ,hr tags how they are used

  How to give heading in html ? To give heading in html we use <h1> tag ,in this tag the size of heading varies by the number written in the right side of "h". For heading we can use 6 tags and these are 1)<h1> 2)<h2> 3)<h3> 4)<h4> 5)<h5> 6)<h6> These tags varies by size ,h1 is the biggest one and h6 is the smallest one .

Top 5 best video editing apps for android

  Top 5 best video editing apps for android Today video editing beacomes very important for many fields if you are a youtuber, Instagram user, tik toker, editor, video shooter then video Editing is very important part for your work. People spend 36 to 48 hours for normal video editing.  There are top 5 best video editing apps for android All these video editing apps are free you do not have to pay for any one. And these all are high rated editors on google playstore. Subscribe this channel and hit the bell icon.