0% found this document useful (0 votes)
33 views3 pages

11CA 12 HTML - Adding Multimedia Elements and Forms v2

The document discusses different multimedia elements that can be added to HTML pages such as images, audio, video, forms, and more. It covers commonly used tags like <img>, <bgsound>, <embed>, <form>, <input>, <select>, <option>, and their attributes. The document contains questions to test the understanding of these concepts.

Uploaded by

kms195kds2007
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)
33 views3 pages

11CA 12 HTML - Adding Multimedia Elements and Forms v2

The document discusses different multimedia elements that can be added to HTML pages such as images, audio, video, forms, and more. It covers commonly used tags like <img>, <bgsound>, <embed>, <form>, <input>, <select>, <option>, and their attributes. The document contains questions to test the understanding of these concepts.

Uploaded by

kms195kds2007
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/ 3

11 Computer Applications

Chapter 12 -HTML - Adding multimedia elements and Forms


Part – I
Choose the correct answer
1) Which image format was standardized by W3C?
(A) JPEG (B) SVG (C) GIF (D) PNG
2) The tag used to insert an image in HTML:
(A) Image (B) Picture (C) Img (D) Pic
3) In HTML, a piece of text or image can be moved horizontally or vertically by using:
(A) <marquee> (B) <img> (C) <embed> (D) <text>
4) Inline sound can be inserted using which of the following tag?
(A) <inline> (B) <backgroundsound> (C) <bgsound> (D) <sound>
5) Which value causes the audio play as long as the page is in view?
(A) Stop (B) Never Stop (C) Continue (D) Infinite
6) The important attributes used with the <form> tag are
(A) method and action (B) name and size
(C) post and get (D) type and name
7) The tag used to create dropdown list box in HTML is:
(A) <dropdown> (B) <select> (C) <listbox> (D) <input>
8) Match the following:
(a) <textarea> - (1) inline
(b) <input> - (2) Video
(c) <bgsound> - (3) Multiline input
(d) <embed> - (4) Password

(a) (b) (c) (d)


(A) 3 1 4 2
(B) 3 4 1 2
(C) 2 3 4 1
(D) 2 1 3 4

Part – II

Very Short Answers

1) List out the popular image formats.


GIF (Graphical Interchange Format)
JPEG (Joint Photographic Experts Group)
PNG (Portable Network Graphics)
SVG (Scalable Vector Graphics)

2) Write down the general format of marquee


<marquee> Text or image to be scroll </marquee>

3) What is inline sound or movie?


Music can be played in the background to a webpage, while the page is viewed. This is
known as „inline‟ sound or movie. The <bgsound> tag is used to attach an inline sound file
in HTML. The src attribute is used to define the location of the media file. Volume attribute

11 CS / Chapter 12 / Page 1 of 3
is used to adjust volume control. The loop attribute defines the duration of play. The
„infinite‟ value causes the audio play as long as the page is in view.
General Format: <bgsound src=music file name with location>

4) What is the purpose of <input> tag?


The <input> is an empty tag used to create different form elements or controls such as
text box, radio buttons so on.

5) Which tag is used to specify the list of items in dropdown list box?
<select>Tag is used for dropdown list box.
<option> tag is used to list the items
It provides a list of various options as dropdown list

6) What are the major attributes available in <textarea> tag?


NAME : used to define a name to the control
ROWS : specifies the number of rows
COLS : specifies the number of columns

Part-III

Short Answers

1) Write a short note on familiar image format.


GIF (Graphical Interchange Format)
This format is one of the popular format for animated images.
Usually this image format is suitable for presenting tiny animated images, logos, icons,
line art etc.,
It is not suitable for photographic work, because it uses maximum of 256 colours.
JPEG (Joint Photographic Experts Group)
JPEG is the most popular image format supported by all web browsers.
This format is suitable for photographic images. Unlike GIF, JPEG can include any number
of colours.
PNG (Portable Network Graphics)
PNG is designed as a replacement for GIF. It is also supported by all browsers.
SVG (Scalable Vector Graphics)
SVG is a graphics format that was developed for web.
It was standardized by World Wide Web Consortium (W3C) in 2001.
All current web browsers supports basic features of SVG

2) How will you scroll the text in HTML?


a piece of text or image can be moved horizontally or vertically by using <marquee> tag.
<marquee> Text or image to be scroll </marquee>

3) Explain the main attributes used with <form> tag.


<Form method=get/post action= “back_end_server_script”>
Method
The method attribute of the form tag is used to identify how the form element names and
values will be sent to the server.
get : The get method will append the names of the form elements and their values to the
URL.

11 CS / Chapter 12 / Page 2 of 3
post :The post method will send the names and values of the form elements as packets.

Action
The action attribute identifies the server side program or script that will process the form.
The action will be the name of a Common Gateway Interface (CGI) program written in
programming languages like Perl, JavaScript, PHP or Active Server Pages (ASP).

4) Explain the values of <input> tag’s type attribute.

Text : Create a Text Box. The element used to get all kind of text input such as name, address
etc.,

Password : Similar as Text box. But, while entering data, the characters are appearing as coded
symbols such as asterisk.

Checkbox : Check box is an element appearing like a small square box. When the user click on
the square a tiny tick mark will appear inside the square. This element is used to select multiple
options.

Radio Button : Radio button is used to select any one of the multiple options from the list. This
element looks like a small circle, when the user select an item, a tiny dot will appear within the
circle. If the user selects another option, previously selected option will be deselected. This
means, user can select any one of the given option form a group

Reset : It is a special command button used to clear all the entries made in the form.

Submit : It is also a special command button used to submit all the entries made in the form to
the backend server.

Button : This is a standard graphical button on the form used to call functions on click.

5) Explain the attributes of <select> and <option> tags.

Attributes of <Select> tag:

Name – Provide the name to the control, which is sent to the server.

Size – Determine the style of dropdown list box.

Size = 1 dropdown list box

Size = 2 List box

Multiple – Allows user to select multiple values.

Attributes of <Option> tag:

Selected – Indicate default selection

Value – Value to be submitted to server

11 CS / Chapter 12 / Page 3 of 3

You might also like