Chapter 2.2
Chapter 2.2
Assessment 3:
1. Write tags used into add audio file in web page?
To add an audio file to a web page using HTML, you can use the <audio> tag.
This tag allows you to embed audio content in your web page. Additionally,
you can provide controls to play, pause, and adjust the volume of the audio.
Here is a simple example of how to use the <audio> tag in HTML:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Embedding Audio into an HTML Page</title>
</head>
<body>
<audio controls="controls" src = "/examples/audio/birds.mp3">
Your browser does not support the HTML5 audio element.
</audio>
</body>
</html>
<!DOCTYPE html>
4. What is CSS and what are the current version available of it?
• "Cascading" means that styles can fall (or cascade) from one style
sheet to another, enabling multiple style sheets to be used on one
HTML document.
• Even the simplest HTML document may have three or more style
sheets associated with it including: The browser's style sheet and the
user's style sheet.
• The current version available is CSS 3.
1. How can you differentiate between music, image and sound data without open?
Ans- The most common way to discover the type of file is to look at the file extension.
2. Explain embedding audio in Web Pages. Give any four ways to embed audio files
in a web page.
Ans:
Embedding audio in Webpages: Embedding a sound on a page means to include
the sound commands in the HTML document.
Four ways to embed Audio files in a web page are:
Using the Object Tag: tag can be used for embedding various media into our
web pages.
Google Reader MP3 Player: Google Reader has an inbuilt MP3 player that is
pretty much the same as Gmail player, but it also works on non-Google
websites.
Yahoo Media Player: The Yahoo Media Player takes a drastically different
approach by presenting viewers with a very minimal piece of text and a play
button instead of a full-fledged player.
Mix Pod: Mix Pod creates a free flash widget to embed into our site.
3. Each video on Facebook has an id which shows the URL (Uniform Resource Locator).
4. Give any two ways to embed flash files into a web page.
a) Inserting Flash into a Dreamweaver Page Inserting Flash into Dreamweaver is a
pretty straightforward process. Within Dreamweaver, pull down the Insert menu
and select Media, then select Flash.
b) Inserting Flash into Web Pages Manually with Code: To insert Flash onto a webpage
or content management system manually, we must first upload the SWF file to a web
server using a protocol called FTP or through an upload form on the content
management system.