Getting an audio/video on webpage using HTML

Asit RanjanAsit Ranjan
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
Asit Ranjan