HTML lets you show audio and video on your webpage using special tags. Use `<audio>` to add sound files and `<video>` to play videos. These tags have attributes like `src` (file location), `controls` (show play/pause buttons), and `autoplay` (start playing automatically). Example:
html
<audio src="song.mp3" controls></audio>
<video src="movie.mp4" controls></video>
Multimedia tags make web pages more lively and interactive.
Join our WhatsApp group for more...
No comments:
Post a Comment