Getting an audio/video on webpage using HTML
![Asit Ranjan](https://cdn.hashnode.com/res/hashnode/image/upload/v1675391296886/0f3e7308-dc3b-42b5-b940-d0b45da9f31c.png)
1 min read
introduction
To tell something to the user in story format or in a video the user often uses the audio or video format, where he wants to share his thoughts or wants to grow his business through the website.
HTML audio/video
We can add an audio or video on a web page like this
<audio src="example source" controls autoplay muted loop><audio>
<video src="example video" controls autoplay muted loop><video>
Here <audio></audio> and <video></video> are the tags for audio and video respectively and src,controls,autoplay,muted and loop are the attributes.
0
Subscribe to my newsletter
Read articles from Asit Ranjan directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
![Asit Ranjan](https://cdn.hashnode.com/res/hashnode/image/upload/v1675391296886/0f3e7308-dc3b-42b5-b940-d0b45da9f31c.png)