0% found this document useful (0 votes)
46 views4 pages

Chapter 2.2

The document provides guidelines for embedding multimedia components such as audio, video, and Flash files in web pages using HTML tags like <audio>, <video>, and <object>. It also explains CSS, its current version (CSS 3), and the differences between <object> and <embed> tags. Additionally, it covers file extensions like .mpeg, .wav, and .cgm, as well as concepts like SEO and multimedia.

Uploaded by

Mohammed Hafiz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views4 pages

Chapter 2.2

The document provides guidelines for embedding multimedia components such as audio, video, and Flash files in web pages using HTML tags like <audio>, <video>, and <object>. It also explains CSS, its current version (CSS 3), and the differences between <object> and <embed> tags. Additionally, it covers file extensions like .mpeg, .wav, and .cgm, as well as concepts like SEO and multimedia.

Uploaded by

Mohammed Hafiz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Grade -12, Web Application

Prepared by- Ms. Ramya

Chapter -2, Customizing and Embedding Multimedia Components in Web Pages:

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>

2. Write tags used to add video file in web page?


To add a video file to a web page, you can use the <video> tag in HTML.
This tag allows you to embed video content and provides various
attributes to control the playback and presentation of the video. Here is
an example of how to use the <video> tag in HTML:

<!DOCTYPE html>

All Rights Reserved @ Bhavans Middle East


<html lang="en">
<head>
<meta charset="UTF-8">
<title>Video Example</title>
</head>
<body>
<h1>Video Example</h1>
<video width="640" height="480" controls>
<source src="video-file.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</body>
</html>

3. Write tags used to add flash file in web page?


There are many ways to insert your Flash project into a web page.
Inserting Flash into Web Pages Manually with Code: -

<object width="550" height="400">


<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf" width="550" height="400">
</embed>
</object>

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.

5. How is an <object> tag different from an <embed> tag?


• The <object> tag is the web standard for embedding content on to a web
page, but the <embed> is a carryover from the days of the Netscape
browser and is not actually a valid tag in web standards.
• Yes, we can use embed tag and object tag in a single web page.

All Rights Reserved @ Bhavans Middle East


Extra Questions from Board Papers with answers:

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.

5. Explain .mpeg, .wav and .cgm file extensions.


Ans:
.mpeg- MPEG files use the MPEG-1 video compression routine, a universal protocol
for creating and displaying time coded data created by the Motion Picture Experts Group.
.wav - WAV (wave) files are Microsoft's native audio sound format. WAV files can include
8-bit or 16-bit sound, in mono or stereo.
.cgm - A Computer Graphics Metafile, CGM, is also a vector format and can be opened by
Canvas and ClarisDraw.
All Rights Reserved @ Bhavans Middle East
6. Explain following terms i. Snippet ii. SEO iii. CSS
Ans:
1. Snippet: When you want others to see your content designed using
HTML, you need to host the content in a web server to be viewed by the
public. There are several free web hosting providers that provide free web
space for your content.
2. SEO: Search Engine Optimization or SEO refers to the process that affects
the website visibility or ranking when displaying search results. Search
Engines search contents of a web page and create indexes to display results.
3. CSS: Cascading Style Sheets are the templates that can be used to design
your websites. These are available on the Internet. Popularly referred to as CSS
Templates or XHTML/CSS Templates, these templates look attractive while
meeting certain standards.
7. Explain the term Multimedia. Differentiate between raster and vector
graphics.
Ans:
Multimedia: Multimedia is the media that uses multiple forms of information
content and information processing (e.g. text, audio, graphics, animation,
video, interactivity) to inform or entertain the user.
A raster image is one composed of a field of pixels, each characterized by a
color, and is usually created in paint programs, by scanning a picture or by
grabbing an image.
A vector format is created almost always by a drawing/CAD program and
consists not of pixels, but objects such as curves, shades, and characters.

All Rights Reserved @ Bhavans Middle East

You might also like