How to add Video/Audio tags in HTML Coding with example.
Some other tags are require to add video in html
- CONTROL________ to start video
- LOOP____________ to repeat again and again
- AUTOPLAY ______ video play automatically
- MUTED _________ no voice
- SRC _____________ source ,from where file is taken
- POSTER _________ thumbnail before to start video.
- WIDTH __________ size of video such as "600px"
- HEIGHT _________ mostly height tag can not used in videos.
To upload video in any html file or html webpage which tag are used are briefly explain.
lets start practice:
<html>
<head>
<title>
video tag
</title>
</head>
<body>
<video width="400px" controls poster="name of file .extension of file such as jpg or png>
<source src="name of video.name of file such as mp4" type="video/mp4">
</video>
</body>
</html>
We can also add audio in html by using similar tags.