Course Content
Ultimate HTML
Ultimate HTML
Challenge: Audio and Video
🏁 Goal
Create an engaging multimedia experience for the website visitors by incorporating both audio and video content.
📋 Task
Take the website to the next level by immersing users in a captivating multimedia experience. Your task is to:
For the Audio: embed an audio file that provides a soothing atmosphere for users to relax. Use the following link for the audio:
For the Video: integrate a video that lets users enjoy the beauty of nature creatures. Use the following link for the video:
Add playback controls like play and pause.
Add file types.
index
index
index
- Use the
audio
tag to specify an audio element. - Use the
video
tag to specify a video element. - Use the
controls
attribute to allow users to manage the audio or video playback. - Use the
src
attribute to specify the file's location. Ensure accurate copying of links from the task. - Use
type="audio/mp3"
to specify the correct file type for the audio. - Use
type="video/mp4"
to specify the correct file type for the video.
index
index
index
Thanks for your feedback!