Adding Audio to a Webpage
Instructions: In this exercise, you will use your text editor to add audio to a webpage. Insert an
audio element and three source elements. Work with the apply09.html file in the apply folder and
audio files in the apply\media folder from the Data Files for Students. The completed webpage is
shown in Figure 9–25. You will also use professional web development practices to indent, space,
comment, and validate your code.
Perform the following tasks:
1. Open apply09.html in your text editor, review the page, add a title, modify the comment at the top of the page
to include your name and today’s date, and replace “Student’s Name” with your name in the footer element.
2. Insert an audio element below the figure element.
3. Set the audio element to play automatically and to repeat continuously.
4. Insert three source elements within the audio element and use the three audio files contained within the apply\media folder.
5. Include a paragraph element within the audio element that advises legacy browser users that their browser does not support
the audio element.
6. Save all of your changes and open the apply09.html in your browser.
7. Validate your HTML document using the W3C validator found at validator.w3.org and fix any errors that are identified.
8. Submit the files in a format specified by your instructor.
9. In this exercise, you specified three source files, one of which was an Ogg file. Use your browser to research free
resources available format. to convert an audio file to the Ogg Summarize your findings and provide a link to at
least three different resources.
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.