Question: In the Lab Chapter 9 , Pages 5 0 1 - 5 0 3 You have already created the website and now need to add
In the Lab Chapter Pages
You have already created the website and now need to add a video with captions. The video, with captions, is shown in Figure
Open your rescue folder and create a new subfolder named media. Copy the Data Files from chapterlab to your rescuemedia folder.
Open the about.html file in your text editor. Replace the image element on Line with a paragraph element that includes the following text: Watch the video below to meet our new, rescued friends.
Insert two new lines below the paragraph element you added in Step Add a video element with the controls attribute and a poster attribute that uses the babyhawk.jpg image file.
Nest a source element within the video element that specifies wildrescues.mp as the source file and videomp as the type.
Nest another source element that specifies wildrescues.webm as the source file and videowebm as the type.
Open the mediacaptionsvtt file in your text editor. Add your name and date to the NOTE. Use Table to create a captions file. Table
Line Number Code to Insert
::
These baby raccoons were found abandoned near a home.
::
Nugget is learning how to climb trees.
::
Princess was neglected by her owner.
::
Sox is an orphan.
::
Frank was found abandoned.
::
Princes hooves are in bad shape.
In about.html use the track element to add the captions file to the video element. Include the following attributes: src kind, srclang, and label.
Use the track element to add the descriptions file to the video element. Include the following attributes: src kind, srclang, and label.
Below the source element, provide fallback text for legacy browsers that do not support the video element.
Open the styles.css file in your text editor. Add the video selector to the CSS Reset style rule. Add the video selector to the img style rule as well.
Save your changes. Use Web Server for Chrome to launch the website and then navigate to the About Us page. Turn the captions on and view the video with captions.
Check your spelling. Validate all HTML and CSS files and correct any errors. Save your changes.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
