HTML - Adding multimedia elements and Forms: book back answers
18 solved questions from the end of this chapter, Class 11 Computer Applications, Tamil Nadu State Board. Each answer is checked against the textbook, and you can open the page that proves it.
← Notes and quiz for HTML - Adding multimedia elements and FormsPart – I — Choose the correct answer
Which image format was standardize by W3C?
- (A) JPEG
- (B) SVG
- (C) GIF
- ( D ) PNG
Try it, then show the answerAnswer
(B) SVG
SVG was standardized by the World Wide Web Consortium (W3C) in 2001.
From the book: “It was standardized by World Wide Web Consortium (W3C) in 2001.”
The tag used to insert an image in HTML:
- (A) Image
- (B) Picture
- (C) Img
- (D) Pic
Try it, then show the answerAnswer
(C) Img
The <IMG> tag, together with the src attribute, is used to add images to an HTML document.
From the book: “The <IMG> tag along with the attribute src (Source) is used to add images in HTML document.”
In HTML, a piece of text or image can be moved horizontally or vertically by using:
- (A) <marquee>
- (B) <img>
- (C) <embed>
- (D) <text>
Try it, then show the answerAnswer
(A) <marquee>
The <marquee> tag moves text or images horizontally or vertically.
From the book: “a piece of text or image can be moved horizontally or vertically by using <marquee> tag.”
Inline sound can be inserted using which of the following tag?
- (A) <inline>
- (B) <backgroundsound>
- (C) <bgsound>
- (D) <sound>
Try it, then show the answerAnswer
(C) <bgsound>
The chapter identifies <bgsound> as the tag for attaching an inline sound file.
From the book: “The <bgsound> tag is used to attach an inline sound file in HTML.”
Which value causes the audio play as long as the page is in view?
- (A) Stop
- (B) Never Stop
- (C) Continue
- (D) Infinite
Try it, then show the answerAnswer
(D) Infinite
The loop attribute set to ‘infinite’ makes the audio play while the page is in view.
From the book: “The ‘infinite’ value causes the audio play as long as the page is in view.”
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
Try it, then show the answerAnswer
(A) method and action
The chapter lists method and action as the important attributes of the <form> tag.
From the book: “The important attributes used with the <form> tag are method and action attributes.”
The tag is used to create dropdown list box in HTML is:
- (A) <dropdown>
- (B) <select>
- (C) <listbox>
- (D) <input>
Try it, then show the answerAnswer
(B) <select>
The <select> tag creates a dropdown list box in HTML.
From the book: “The <select> tag is used to create dropdown list box in HTML.”
Part – I — Very Short Answers
List out the popular image formats.
Try it, then show the answerAnswer
GIF, JPEG, PNG and SVG.
The chapter describes GIF, JPEG and PNG as familiar formats, and also introduces SVG as a web graphics format.
From the book: “Most of the browsers supports, GIF, JPEG and PNG images formats.”
Write down the general format of marquee
Try it, then show the answerAnswer
<marquee> Text or image to be scroll </marquee>
The marquee element starts with <marquee> and ends with </marquee>, with the scrolling text or image between them.
From the book: “<marquee> Text or image to be scroll </marquee>”
What is inline sound or movie?
Try it, then show the answerAnswer
Inline sound or movie refers to audio or video files handled as part of the page, which play when the page is visible in the browser window.
The chapter defines inline media as part of the page and says it plays when the page is visible in the browser.
From the book: “These media files play the audio or video when the page is visible in the browser window.”
What is the purpose of <input> tag?
Try it, then show the answerAnswer
The <input> tag is used to create form elements or controls, such as text boxes and radio buttons.
It is an empty tag used to create different kinds of form controls.
From the book: “The <input> is an empty tag used to create different form elements or controls”
Which tag is used to specify the list of items in dropdown list box?
Try it, then show the answerAnswer
The <option> tag.
List items for a dropdown list are specified using the <option> tag.
From the book: “The <option> tag is used to specify list items.”
What are the major attributes are available in <textarea> tag?
Try it, then show the answerAnswer
Name, rows and cols.
Name identifies the control; rows sets the number of rows, and cols sets the number of columns.
From the book: “Name – Used to define name to the control Rows – Specifies the number of rows”
Part – I — Short Answers
Write a short note on familiar images format.
Try it, then show the answerAnswer
GIF is suitable for tiny animated images, logos, icons and line art, but not photographic work because it uses at most 256 colours. JPEG is widely supported and suitable for photographs, and can include any number of colours. PNG was designed as a replacement for GIF and is supported by all browsers. SVG is a web graphics format standardized by W3C in 2001.
These are the familiar image formats described in the chapter, with their uses and key features.
From the book: “JPEG is the most popular image format supported by all web browsers.”
How will you scroll the text in HTML?
Try it, then show the answerAnswer
Use the <marquee> tag around the text. Its direction can be set with the direction attribute; the default movement is from right to left. Other attributes can set its height, width, behaviour, speed, delay, repetitions, background colour and spacing.
The chapter gives <marquee> as the tag for moving text and describes attributes to control its movement and appearance.
From the book: “In HTML, a piece of text or image can be moved horizontally or vertically by using <marquee> tag.”
Explain the main attributes used with <form> tag.
Try it, then show the answerAnswer
The method attribute specifies how form element names and values are sent to the server: get appends them to the URL, while post sends them as packets. The action attribute identifies the server-side program or script that processes the form.
Method controls how the form data is sent, and action specifies the program that processes it.
From the book: “The important attributes used with the <form> tag are method and action attributes.”
Explain the values of <input> tag’s type attribute.
Try it, then show the answerAnswer
Text creates a text box; password creates a text box that displays entered characters as coded symbols; checkbox allows multiple options to be selected; radio button allows one option from a group; reset clears form entries; submit sends entries to the backend server; and button creates a graphical button used to call functions when clicked.
Each type value determines which kind of form control or command button the <input> tag creates.
From the book: “The values of type attribute is listed below:”
Explain the attributes of <select> and <option> tags.
Try it, then show the answerAnswer
The <select> tag has name, which names the control; size, which determines the dropdown or list box style; and multiple, which allows selection of multiple values. The <option> tag has selected to indicate the default selection and value to specify the value submitted to the server.
The chapter describes the attributes of each tag and what they control.
From the book: “Multiple – Allows user to select multiple values.”