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

Basic of HTML

                        HTML Html is a Hypertext Markup language ,which is used to develop web applications ,Android applications,etc. Browsers do not understand our communication language they have their own language in this blog we will learn one of them language  There are many languages which browsers support.Some of them are :-          DIFFERENT LANGUAGES

What are Tags and Attributes ?

The most important things you should know Today we will cover what are Tags and Attributes and how we use them in html  

Marquee Tag and paragraph Tag

  Content of the post 1)Marquee tag 2)Paragraph tag 3)Fieldset tag 4)Legend tag