How to add video and audio in HTML5?



How to add video and audio in HTML5?..

Answer / ramya gurrala

we can add audio and video using <audio>,<video> tags.

<audio controls>
<source src="Amma Amma -MP3songssp.com.mp3" type="audio/mpeg'/>
</audio>

we will control attribute because it will have play,stop and volume.

where as in the source,we will add the path of our source file.
In type we will add the type pf file like mp3,mp4,mpeg etc..



Similarly we will add the video file

<video controls>
<source src="waiting for tonight -youtube.com" type="video/MP4/"
</video>

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Web Design Interview Questions

Mention what do you mean by Responsive design on a web page?

0 Answers  


How can you set an image as a background on web pages?

0 Answers  


What are the components of web?

0 Answers  


Why do we use web application?

0 Answers  


Why do we need web application?

0 Answers  






What are the benefits of web application?

0 Answers  


What is gradient?

0 Answers  


Is google a web application?

0 Answers  


What is most used email form script?

0 Answers  


Is facebook a web application?

0 Answers  


What’s the contrast between quirks mode and standard mode?

0 Answers  


What are some examples of web applications?

0 Answers  


Categories