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  


What are the types of web application?

0 Answers  


What are the main language or platform used for web-design?

0 Answers  


How do you test a web application?

0 Answers  


What is web application in simple words?

0 Answers  






What is the difference between web application and application?

0 Answers  


Which is a benefit of web based development?

0 Answers  


Mention the main platform or language that is used for website designing?

0 Answers  


Explain what is a Dreamweaver Template?

0 Answers  


How does a web application works?

0 Answers  


How do you incorporate current design trends in your work?

0 Answers  


What are the functions of web application?

0 Answers  


Categories