Computer Networking concepts

Tuesday, 18 February 2014

HTML Tutorial:-

How to add audio and video files in HTML, if this question came in my mind, so this can come in anyone's. Don't worry friends let me solve this question for all of you. Now we have a topic or question that "How to add audio and video file in HTML.
Let us start, 
<html>
<head>
<title>This is the title</title>
</head>
<body>
</h1>you can write  anything here</h1>
<video control>   (this tag is for video controls)
<source src="name of the file.mp4 type="video/mp4"> (HTML supports only .mp4 video files)
</video>

</body>
</html>
for audio :-
<audio control>
<source src="name of the file.mp3" type="audio/mp3>
Rest of above coding will be same 








if you have any query or complaint , you can contact me
tekchand030@gmail.com
tekchandrahee7@gmail.com

No comments:

Post a Comment