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.html
index.css
- 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.html
index.css
Everything was clear?
Thanks for your feedback!
Section 4. Chapter 6