Tamilnadu State Board New Syllabus Samacheer Kalvi 11th Computer Applications Guide Pdf Chapter Samacheer Kalvi 11th Computer Applications Guide Chapter 12 HTML – Adding Multimedia Elements and Forms Text Book Back Questions and Answers, Notes.
Tamilnadu Samacheer Kalvi 11th Computer Applications Solutions Chapter 12 HTML – Adding Multimedia Elements and Forms
11th Computer Applications Guide HTML – Adding Multimedia Elements and Forms Text Book Questions and Answers
Part – I
I. Choose The Correct Answers
Question 1.
Which image format was standardize by W3C?
a) JPEG
b) SVG
c) GIF
d) PNG
Answer:
b) SVG
Question 2.
The tag used to insert an image in HTML:
a) Image
b) Picture
c) Img
d) Pic
Answer:
c) Img
Question 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>
Answer:
a) <marquee>
Question 4.
Inline sound can be inserted using which of the following tag?
a) <inline>
b) <backgroundsound>
c) <bgsound>
d) <sound>
Answer:
c) <bgsound>
Question 5.
Which value causes the audio play as long as the page is in view?
a) Stop
b) Never Stop
c) Continue
d) Infinite
Answer:
d) Infinite
Question 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
Answer:
a) method and action
Question 7.
The tag is used to create dropdown list box in HTML is:
a) <dropdown>
b) <select>
c) <listbox>
d) <input>
Answer:
b) <select>
Question 8.
Match the following:
a) 3 1 4 2
b) 3 4 1 2
c) 2 3 4 1
d) 2 1 3 4
Answer:
b) 3 4 1 2
Part – II
II. Very Short Answers
Question 1.
List out the popular image formats.
Answer:
- GIF (Graphical Interchange Format)
- JPEG (Joint Photographic Experts Group)
- PNG (Portable Network Graphics)
- SVG (Scalable Vector Graphics)
Question 2.
Write down the general format of marquee.
Answer:
<marquee> Text or image to be scroll </marquee>
Question 3.
What is inline sound or movie?
Answer:
The inline refers to audio(sound) or video (movie) files are handled as part of the page. These media files play the audio or video when the page is visible in the browser window.
Question 4.
What is the purpose of <input> tag?
Answer:
Most of the form controls are created by using <input> tag. The <input> is an empty tag used to create different form elements or controls such as text box, radio buttons so on.
Type attribute is used define the type of control to be created by <input> tag.
Question 5.
Which tag is used to specify the list of items in dropdown list box?
Answer:
- The <select> tag is used to create dropdown list box in HTML.
- The <option> tag is used to specify list items.
Attributes of <Option> tag:
Selected – Indicate default selection Value – Value to be submitted to server
Example:
Question 6.
What are the major attributes are available in <textarea> tag?
Answer:
The main attributes of <Textarea> are:
- Name – Used to define name to the control
- Rows – Specifies the number of rows in the text area control
- Cols – Specifies the number of columns in the text area, (number of characters in a line)
Example:
<Textarea rows=5 cols=50 name=comments> </Textarea>
Part – III
III. Short Answers
Question 1.
Write a short note on familiar images format.
Answer:
Familiar Image Formats – GIF (Graphical Interchange Format):
This format is one of the popular format for animated images. It was developed by CompuServe. 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. Animated GIF do not support sound or playback control.
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.
Question 2.
How will you scroll the text in HTML?
Answer:
In HTML, a piece of text or image can be moved horizontally or vertically by using <marquee> tag. This feature makes a web page as more attractive.
General format:
<marquee> Text or image to be scroll </marquee>
Example:
<marquee direction=right> Welcome to <b> The State Council of Educational Research and Training </b>, Tamilnadu </marquee>
Question 3.
Explain the main attributes used with <form> tag.
Answer:
The important attributes used with the <form> tag are method and action attributes.
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.
The get method will append the names of the form elements and their values to the URL.
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).
Question 4.
Explain the values of <input> tag’s type attribute.
Answer:
<Input> Tag
Most of the form controls are created by using <input> tag. The <input> is an empty tag used to create different form elements or controls such as text box, radio buttons so on.
Type attribute of <input> tag:
This attribute is used define the type of control to be created by <input> tag. The values of type attribute is listed below:
Example:
<Form action=”mailto:abcd.xyz@com” method=post>
<p> Student Name:
<Input type=text name=name size=30 maxlength = 25></p>
<p> Gender:
<input type=radio name=gender value=boy> Boy
<input type=radio name=gender value=girl> Girl
</p>
<p> Subjects:
<input type=checkbox name=sub value=Tam> Tamil
<input type=checkbox name=sub value=Tel> Telugu
<input type=checkbox name=sub value=Eng> English
<input type=checkbox name=sub value=Phy> Physics
<input type=checkbox name=sub value=Eco> Economics
</p>
<input type=reset name=reset value=”Clear”>
<input type=submit name=submit value=”Submit”>
</Form>
Question 5.
Explain the attributes of <select> and <option> tags.
Answer:
<Select> Tag
The <select> tag is used to create dropdown list box in HTML. It provides a list of various options as a dropdown list. This element is more helpful when a number of options are to be displayed in a limited space. The <option> tag is used to specify list items.
Attributes of <Select> tag:
1. Name – Provide the name to the control, which is sent to the server.
2. Size – Determine the style of dropdown list box.
- o Size = 1 dropdown list box
- o Size = 2 List box
3. Multiple – Allows user to select multiple values:
Attributes of <Option> tag:
- Selected – Indicate default selection
- Value – Value to be submitted to server
Example:
11th Computer Applications Guide HTML – Adding Multimedia Elements and Forms Additional Important Questions and Answers
Part – I
I. Choose The Correct Answers:
Question 1.
________ are used to depict many complex concepts in simple way.
a) Images
b) Tables
c) Formatted text
d) None of these
Answer:
a) Images
Question 2.
To make more attractive and communicative web pages, ________ should be added in the appropriate places.
a) Images
b) Tables
c) Formatted text
d) None of these
Answer:
a) Images
Question 3.
Host of the browsers supports ________ image format.
a) GIF
b) JPEG
c) PNG
d) All the above
Answer:
d) All the above
Question 4.
HTML-5 introduces ________ images.
a) GIF
b) JPEG
c) PNG
d) SVG
Answer:
d) SVG
Question 5.
One format of image can be converted to another format by using ________ Image editing application.
a) Photoshop
b) Picasa
c) GIMP
d) All the above
Answer:
d) All the above
Question 6.
Expand GIF.
a) Graphical Interchange File
b) Grade Interchange Format
c) Graphical Interchange Format
d) Graphical Integrated Format
Answer:
c) Graphical Interchange Format
Question 7.
GIF format was developed by ________.
a) CompuServe
b) Microsoft Corporation
c) Graphics Group
d) Borland International
Answer:
a) CompuServe
Question 8.
GIF image format is suitable for ________.
a) presenting tiny animated images
b) logos
c) icons / line art
d) all the above
Answer:
d) all the above
Question 9.
________ image format is not suitable for photographic work.
a) GIF
b) JPEG
c) PNG
d) SVG
Answer:
a) GIF
Question 10.
GIF uses maximum of ________ colours.
a) 1024
b) 256
c) 512
d) All natural
Answer:
b) 256
Question 11.
________ do not support sound or playback control.
a) Animated GIF
b) MP4
c) Quick Time Format
d) None of these
Answer:
a) Animated GIF
Question 12.
Expand JPEG.
a) Joint Photo Experts Group
b) Joint Photographic Experts Group
c) Joint Photographic Express Group
d) Joint Photographic External Group
Answer:
b) Joint Photographic Experts Group
Question 13.
________ is the most popular image format supported by all web browsers.
a) JPEG
b) MP4
c) Quick Time Format
d) None of these
Answer:
a) JPEG
Question 14.
________ image format is suitable for photographic work.
a) GIF
b) JPEG
c) MP4
d) None of these
Answer:
b) JPEG
Question 15.
Expand PNG.
a) Portable Network Graphics
b) Portable Network Group
c) Physical Network Graphics
d) Portable Natural Graphics
Answer:
a) Portable Network Graphics
Question 16.
Expand SVG.
a) Support Vector Graphics
b) Scalable Vector Graphics
c) Script Vector Graphics
d) Scalable Vector Group
Answer:
b) Scalable Vector Graphics
Question 17.
________ tag is used to insert an image in web page.
a) <IMG>
b) <IMAGE>
c) <PIC>
d) <SRC>
Answer:
a) <IMG>
Question 18.
________ is the main attribute of <IMG> tag.
a) Source
b) SRC
c) HREF
d) DYNSRC
Answer:
b) SRC
Question 19.
________ is the attribute of <IMG> tag.
a) Alt
b) Width and Height
c) Vspace and Hspace
d) All the above
Answer:
d) All the above
Question 20.
The ________ attribute within <img> tag is used to describe the image, so that some text is conveyed even when the image cannot be displayed.
a) Alt
b) Width and Height
c) Vspace and Hspace
d) All the above
Answer:
a) Alt
Question 21.
________ attribute is used to set the width of an image.
a) Width
b) Height
c) Vspace
d) Hspace
Answer:
a) Width
Question 22.
________ attribute is used to set the height of an image.
a) Width
b) Height
c) Vspace
d) Hspace
Answer:
b) Height
Question 23.
________ attribute is used to set the vertical space between the images.
a) Width
b) Height
c) Vspace
d) Hspace
Answer:
c) Vspace
Question 24.
________ attribute is used to set the horizontal space between the images.
a) Width
b) Height
c) Vspace
d) Hspace
Answer:
d) Hspace
Question 25.
The ________ attribute used to align the image with respect to the base line of the text.
a) align
b) Height
c) Vspace
d) Hspace
Answer:
a) align
Question 26.
Align attribute has the ________ value.
a) Bottom
b) Middle
c) Top
d) All the above
Answer:
d) All the above
Question 27.
Using ________ value with align attribute, displayed the image on the left side of the text.
a) Left
b) Right
c) Start
d) End
Answer:
a) Left
Question 28.
Using ________ value with align attribute, displayed the image on the right side of the text
a) Left
b) Right
c) Start
d) End
Answer:
b) Right
Question 29.
Scrolling text using ________ tag.
a) <Marquee>
b) Scroll>
c) <Move>
d) None of these
Answer:
a) <Marquee>
Question 30.
In HTML, a piece of text or image can be moved horizontally or vertically by using ________ tag.
a) <Marquee>
b) <Scroll>
c) <Move>
d) None of these
Answer:
a) <Marquee>
Question 31.
________ is the attribute of <Marquee> tag.
a) Direction
b) Height and Width
c) Behavior
d) All the above
Answer:
d) All the above
Question 32.
________ is the attribute of <Marquee> tag.
a) Scrolldelay
b) Scrollamount
c) Loop
d) All the above
Answer:
d) All the above
Question 33.
________ is the attribute of <Marquee> tag.
a) Bgcolor
b) Hspace
c) Vspace
d) All the above
Answer:
d) All the above
Question 34.
________ attribute is used to specify the direction of the movement of text or image.
a) Direction
b) Height and Width
c) Behaviour
d) None of these
Answer:
a) Direction
Question 35.
________ is the possible value of direction attribute.
a) Up
b) Down
c) Left / Right
d) All the above
Answer:
d) All the above
Question 36.
________ attribute is used to specify the type of scrolling.
a) Direction
b) Height and Width
c) Behaviour
d) None of these
Answer:
c) Behaviour
Question 37.
________ is the value of behaviour attribute.
a) Scroll
b) Slide
c) Alternate
d) All the above
Answer:
d) All the above
Question 38.
________ attribute is used to define the time delay between each jump.
a) Scrolldelay
b) Scrollamount
c) Loop
d) Behaviour
Answer:
a) Scrolldelay
Question 39.
The time unit of scrolldelay should be in ________.
a) Minutes
b) Seconds
c) Hours
d) None of these
Answer:
b) Seconds
Question 40.
________ attribute is used to define the speed of the scroll.
a) Scrolldelay
b) Scrollamount
c) Loop
d) Behaviour
Answer:
b) Scrollamount
Question 41.
________ attribute is for defining how many times the marquee element should repeat on the screen.
a) Scrolldelay
b) Scrollamount
c) Loop
d) Behaviour
Answer:
c) Loop
Question 42.
The default value of loop attribute is ________.
a) Finite
b) Infinite
c) Endless
d) None of these
Answer:
b) Infinite
Question 43.
________ attribute is used to specify the background color to the marquee elements.
a) Bgcolor
b) Hspace
c) Vspace
d) All the above
Answer:
a) Bgcolor
Question 44.
________ attribute is for defining the horizontal space around the marquee.
a) Bgcolor
b) Hspace.
c) Vspace
d) Behaviour
Answer:
b) Hspace.
Question 45.
________ attribute is for defining the vertical space around the marquee.
a) Bgcolor
b) Hspace
c) Vspace
d) None of these
Answer:
c) Vspace
Question 46.
The value of Vspace and Hspace attribute can be in ________
a) Pixels
b) Percentage
c) Either A or B
d) None of these
Answer:
c) Either A or B
Question 47.
________ is the core part of the modern web pages.
a) Video
b) Sound
c) Either A or B
d) None of these
Answer:
c) Either A or B
Question 48.
In HTML, a video or audio content may be included as ________ data.
a) Inline
b) External
c) Either A or B
d) None of these
Answer:
c) Either A or B
Question 49.
Identify the correct statement from the following.
a) The inline refers to audio or video files are handled as part of the page.
b) Inline media files play the audio or video when the page is visible in the browser window.
c) The external refers, linking external audio or video files as url.
d) All the above
Answer:
d) All the above
Question 50.
The ________ tag is used to attach an audio or video file easily within webpage.
a) <embed>
b) <Bgsound>
c) <Img>
d) All the above
Answer:
a) <embed>
Question 51.
________ tag includes the controls of the multimedia automatically in the browser.
a) <Embed>
b) <Bgsound>
c) <Img>
d) None of these
Answer:
a) <Embed>
Question 52.
The ________ tag may be used as an alternate to display some other media file, in the case of the browser does not support <embed> tag.
a) <Cancel>
b) <Noembed>
c) <Skip>
d) None of these
Answer:
b) <Noembed>
Question 53.
________ is the primary attribute used with <embed> tag.
a) Src
b) Source
c) File
d) None of these
Answer:
a) Src
Question 54.
________ is the attribute of <embed> tag.
a) Align
b) Height / Width
c) Align
d) All the above
Answer:
d) All the above
Question 55.
The ________ tag is used to attach an inline sound file in HTML.
a) <Bgsound>
b) <Background>
c) <Inline>
d) None of these
Answer:
a) <Bgsound>
Question 56.
The ________ attribute is used to define the location of the media file.
a) Src
b) Source
c) File
d) None of these
Answer:
a) Src
Question 57.
________ attribute of <bgsound> tag is used to adjust volume control.
a) Volume
b) Slider
c) Sound
d) None of these
Answer:
a) Volume
Question 58.
The ________ attribute of <bgsound> tag defines the duration of play.
a) Duration
b) Loop
c) Repeat
d) None of these
Answer:
b) Loop
Question 59.
The ________ value causes the audio play as long as the page is in view.
a) Infinite
b) Endless
c) Complete
d) None of these
Answer:
a) Infinite
Question 60.
________ is used to receive information from the user.
a) Frame
b) Container
c) Form
d) None of these
Answer:
c) Form
Question 61.
Forms are commonly used to allow users ________.
a) to register on a Web site
b) to log in to a Web site
c) to send feedback
d) all the above
Answer:
d) all the above
Question 62.
In search engines, ________ are used to accept the keywords for search.
a) Frames
b) Containers
c) Forms
d) None of these
Answer:
c) Forms
Question 63.
The tag is used to create a form.
a) <Form>
b) <Frame>
c) <Container>
d) None of these
Answer:
a) <Form>
Question 64.
Forms contain ________ element.
a) Text boxes / Radio buttons
b) Check boxes
c) Buttons / Drop-down lists
d) All the above
Answer:
d) All the above
Question 65.
The form has ________ button, which will submit the entries of a form to a server application to process the entries.
a) Submit
b) Send
c) OK
d) None of these
Answer:
a) Submit
Question 66.
Each element in the form is assigned a name using the ________ attribute.
a) Title
b) Name
c) Heading
d) None of these
Answer:
b) Name
Question 67.
In a form, users enter values into the ________.
a) Text boxes
b) Radio buttons
c) Check boxes
d) Drop down lists
Answer:
a) Text boxes
Question 68.
In a form, users make selections from the ________.
a) Drop down lists
b) Radio buttons
c) Check boxes
d) All the above
Answer:
d) All the above
Question 69.
The important attribute used with the <form> tag is ________.
a) Method
b) Action
c) Both A and B
d) None of these
Answer:
c) Both A and B
Question 70.
The ________ attribute of the form tag is used to identify tow the form element names and values will be sent to the server.
a) Method
b) Action
c) Both A and B
d) None of these
Answer:
a) Method
Question 71.
The_______ method will append the names Of the form elements and their values to the URL.
a) Post
b) Get
c) Append
d) Add
Answer:
b) Get
Question 72.
The ________ method will send the names and values of the form elements as packets.
a) Post
b) Get
c) Append
d) Add
Answer:
a) Post
Question 73.
The ________ attribute identifies the server side program or script that will process the form.
a) Method
b) Action
c) Both A and B
d) None of these
Answer:
b) Action
Question 74.
CGI means ________.
a) Common Gateway Interaction
b) Common Gateway Induction
c) Common Gateway Interface
d) Classic Gateway Interface
Answer:
c) Common Gateway Interface
Question 75.
CGI is a program written in programming language ________.
a) Peri / PHP
b) JavaScript
c) ASP
d) All the above
Answer:
d) All the above
Question 76.
ASP means ________.
a) Active Server Pages
b) Additional Server Pages
c) Accumulate Server Pages
d) All Server Pages
Answer:
a) Active Server Pages
Question 77.
________ is a control used in a form to collect the data.
a) Text box / Password box
b) Checkbox / Radio buttons / Text area,
c) Select box/Submit Button/Reset Button
d) All the above
Answer:
d) All the above
Question 78.
Most of the form controls are created by using ________ tag.
a) <Input>
b) <Control>
c) <Content>
d) None of these
Answer:
a) <Input>
Question 79.
________ attribute is used define the type of control to be created by <input> tag.
a) Text
b) Input
c) Content
d) None o these
Answer:
b) Input
Question 80.
The value of type attribute is ________, to create a text box.
a) Text
b) Reset
c) Checkbox
d) Radiobutton
Answer:
a) Text
Question 81.
The value of type attribute is ________, to create a password text box.
a) Text
b) Password
c) Checkbox
d) Radiobutton
Answer:
b) Password
Question 82.
The value of type attribute is ________, to create a checkbox.
a) Text
b) Password
c) Checkbox
d) Radiobutton
Answer:
c) Checkbox
Question 83.
The value of type attribute is ________, to create a radio button.
a) Text
b) Password
c) Checkbox
d) Radiobutton
Answer:
d) Radiobutton
Question 84.
________ is used to select multiple option.
a) Text box
b) Submit button
c) Checkbox
d) Radio button
Answer:
c) Checkbox
Question 85.
________ is used to select any one of the multiple options from the list.
a) Text box
b) Submit button
c) Checkbox
d) Radio button
Answer:
d) Radio button
Question 86.
________ command button is used to clear all the entries made in the form.
a) Reset button
b) Submit button
c) Checkbox
d) Radio button
Answer:
a) Reset button
Question 87.
________ command button is used to submit all the entries made in the form to the back end server.
a) Reset button
b) Submit button
c) Checkbox
d) Radio button
Answer:
b) Submit button
Question 88.
The <input> tag attribute type value ________ is used to create a standard button on the form used to call functions on dick.
a) Reset
b) Button
c) Checkbox
d) Radio button
Answer:
b) Button
Question 89.
The <input> tag attribute type value ________ is used to create command button is used to submit all the entries made in the form to the back.
a) Reset
b) Submit
c) Checkbox
d) Radio button
Answer:
b) Submit
Question 90.
The <input> tag attribute type value ________ is used to create command button is used to clear all the entries made in the form.
a) Reset
b) Submit
c) Checkbox
d) Radio button
Answer:
a) Reset
Question 91.
________ is the attribute of <input> tag.
a) Name / Value
b) Size
c) Maxlength
d) All the above
Answer:
d) All the above
Question 92.
________ attribute of <input> tag is used to assign a name to the input controls.
a) Name
b) Size
c) Maxlength
d) Value
Answer:
a) Name
Question 93.
________ attribute of <input> is used to define default value to some controls.
a) Name
b) Size
c) Maxlength
d) Value
Answer:
d) Value
Question 94.
________ attribute of <input> is used to set the width of the input text in terms of characters.
a) Name
b) Size
c) Maxlength
d) Value
Answer:
b) Size
Question 95.
The <input> tag attribute ________ is applicable only for textbox and password boxes.
a) Name
b) Size
c) Maxlength
d) Value
Answer:
c) Maxlength
Question 96.
________ attribute of <input> tag is used to set the length of the input character to the textbox and password boxes.
a) Name
b) Size
c) Maxlength
d) Value
Answer:
c) Maxlength
Question 97.
________ attribute of <input> tag is used to set the number of characters to be inputted to the textbox and password boxes.
a) Name
b) Size
c) Maxlength
d) Value
Answer:
c) Maxlength
Question 98.
The ________ tag is used to create dropdown list box in HTML.
a) <select>
b) <ddown>
c) <dropdn>
d) None of these
Answer:
a) <select>
Question 99.
In form design, ________ element is more helpful when a number of options are to be displayed in a limited space.
a) Text box
b) Checkbox
c) Dropdown list box
d) None of these
Answer:
c) Dropdown list box
Question 100.
The ________ tag is used to specify list Items in a dropdown list box.
a) <Option>
b) <U>
c) <LItem>
d) None of these
Answer:
a) <Option>
Question 101.
________ is the attribute of <Select> tag.
a) Name
b) Size
c) Multiple
d) All the above
Answer:
d) All the above
Question 102.
________ is the attribute of <Option> tag.
a) Selected
b) Value
c) Both A and B
d) All the above
Answer:
c) Both A and B
Question 103.
The <Select> tag attribute ________ provides the name to the control, which is sent to the server.
a) Name
b) Size
c) Multiple
d) All the above
Answer:
a) Name
Question 104.
The <Select> tag attribute ________ determines the style of dropdown list box
a) Name
b) Size
c) Multiple
d) All the above
Answer:
b) Size
Question 105.
The <Select> tag attribute size ________ to create a dropdown list box.
a) 1
b) 2
c) 3
d) 4
Answer:
a) 1
Question 106.
The <Select> tag attribute size ________ to create a list box.
a) 1
b) 2
c) 3
d) 4
Answer:
b) 2
Question 107.
The <Select> tag attribute ________ allows user to select multiple values.
a) Name
b) Size
c) Multiple
d) All the above
Answer:
c) Multiple
Question 108.
The attribute of <Option> tag ________ indicates default selection.
a) Selected
b) Value
c) Both A and B
d) All the above
Answer:
a) Selected
Question 109.
The form value to be submitted to server using ________ attribute of <Option> tag.
a) Selected
b) Value
c) Both A and B
d) All the above
Answer:
b) Value
Question 110.
The ________ tag used to receive multiline text data as input.
a) <Textarea>
b) <Text>
c) <MultiText>
d) None of these
Answer:
a) <Textarea>
Question 111.
________ is the main attribute of <Textarea> tag.
a) Name
b) Rows
c) Cols
d) All the above
Answer:
d) All the above
Question 112.
The <Textarea> tag attribute ________ is used to define name to the control.
a) Name
b) Rows
c) Cots
d) All the above
Answer:
a) Name
Question 113.
The <Textarea> tag attribute ________ specifies the number of rows in the text area control.
a) Name
b) Rows
c) Cols
d) All the above
Answer:
b) Rows
Question 114.
The <Textarea> tag attribute ________ specifies the number of columns in the text area control.
a) Name
b) Rows
c) Cols
d) All the above
Answer:
c) Cols
Question 115.
The <Textarea> tag attribute ________ specifies the number of characters in a line.
a) Name
b) Rows
c) Cols
d) All the above
Answer:
c) Cols
Question 116.
Photoshop is a familiar photo editing tool developed by ________.
a) Adobe
b) Lifescape
c) Microsoft
d) Apple
Answer:
a) Adobe
Question 117.
________ is a free image organizer and editing tool developed by Lifescape.
a) GIMP
b) Photoshop
c) Picasa
d) None of these
Answer:
c) Picasa
Question 118.
________ is a open source image editing tool.
a) GIMP
b) Photoshop
c) Picasa
d) None of these
Answer:
a) GIMP
Part – II
II. Very Short Answers
Question 1.
How will add background music In a web page?
Answer:
Background music:
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 used to adjust volume control.
- The loop attribute defines the duration of play.
The ‘infinite’ value causes the aydio play as long as the page is in view.
General Format:
<bgsound src=music file name with location >
Example:
<bgsound src=”D:\CS_Videos\TamilThai Vazhthu.mp3″ loop=infinite>
Question 2.
Write note on form in HTML.
Answer:
Forms are used to receive information from the user. Forms are commonly used to allow users to register on a Web site, to log in to a Web site, to order a product, and to send feedback. In search engines, forms are used to accept the keywords for search.
The <form> tag is used to create a form. An HTML from starts with <form> and ends with </ form> tag. Forms contain many types of form elements, such as text boxes, radio buttons, check boxes, buttons and drop-down lists.
Question 3.
What are the form controls?
Answer:
In HTML, there are different types of form controls are used to collect data. They are Text box, Password, Checkbox, Radio buttons, Text area, Select box, Submit and Reset Button.
Question 4.
What are the popular image format supported by most of the browsers?
Answer:
Most of the browsers supports, GIF, JPEG and PNG images formats. HTML-5 introduces SVG images.
Question 5.
List some of the Image editing applications.
Answer:
Image editing applications are Photoshop, Picasa, GIMP etc.
Part – III
III. Short Answers
Question 1.
How will you insert an image in a HTML document?
Answer:
Inserting Images with HTML document
The <IMG> tag along with the attribute src (Source) is used to add images in HTML document.
General format:
<img src = image_name_with_extension> (OR) <img src = URL>
Example:
<img src = image1.gif>
Src attribute is the main attribute used to specify the file name of the image to be inserted. If the image is not in the current working folder, the image file name should dearly specify with the path of the file or URL, where the file is available.
Example:
<img src = “D:\images\animals\cat.jpeg”>
An HTML code to insert an inline image:
The OUTPUT will be:
Question 2.
Explain align attribute of <IMG> tag with suitable example.
Answer:
Align attribute:
The align attribute used to aligns the image with respect to the base line of the text. This attribute has the following values.
Bottom – Aligns the bottom of the image with the baseline of the text. This is the default setting.
Middle – Aligns the middle of the image with the baseline of the text.
Top – Aligns the top of the image with the baseline of the text.
Left and Right values of Align attribute:
Using left and right values with align attribute, displayed the image on the left and right side of the text.
An HTML code to demonstrate baseline of text:
The OUTPUT will be:
Question 3.
How wilt you insert video and sound in a webpage?
Answer:
The <embed> tag is used to attach an audio or video file easily within webpage. This tag includes the controls of the multimedia automatically in the browser. The <poembed> tag may be used as an alternate to display some other media file, in the case of the browser does not support <embed> tag.
Src is the primary attribute used with <embed> tag. The src attribute used to specify the name of the media file with its source location. Other attributes such as alt, height, width and align are used as it is used with <img>.
General Format:
<embed src = audio / video file name with location > </embed>
An HTML code to demonstrate adding audio and video files (internal source):
Output:
Part – IV
IV. Explain In Brief
Question 1.
Explain all the attributes of <IMG> tag with suitable HTML code.
Answer:
Attributes of <img> tag:
Other than src, the <img> tag has many attributes the enable to control how the image is presented on the page.
Alt (Alternative Text)
The alt attribute within <img> tag is used to describe the image, so that some text is conveyed even when the image cannot be displayed.
Example:
<img src = bharathiyar.gif alt = “National Poet of India”>
Width and Height:
Width and Height attributes are used to set the width and height of an image. The values of these attributes should be either pixels or percentage of its actual size. If these attributes are not specified, the browser displays the image in its original size.
Vspace (Vertical Space) and Hspace (Horizontal Space):
Vspace and Hspace attributes are used to set Vertical and Horizontal space between the images.
An HTML code to demonstrate <img> attributes:
The OUTPUT will be:
Question 2.
Explain scrolling text using <Marquee> with its attribute.
Answer:
In HTML, a piece of text or image can be moved horizontally or vertically by using <marquee> tag. This feature makes a web page as more attractive.
General format:
<marquee> Text or image to be scroll </marquee>
Attributes of <marquee>
Height and Width:
These attributes are used to set height and width of the marquee. The values should be either in pixels or in percentage of browser window.
Direction:
This is used to specify the direction of the movement of text or image. The text or image will move towards right to left by default. So, the default direction is left. The Possible values are ‘up’, ‘down’, ‘left’ or ‘right’.
Behaviour:
This attribute is used to specify the type of scrolling. The values are ‘scroll’, ‘slide’ and ‘alternate’.
Scrolldelay:
This attribute is used to define the time delay between each jump. The. time unit should be in seconds.
ScroUamount:
This is used to define the speed of the scroll.
Loop:
This is for defining how many times the marquee element should repeat on the screen. The default value is ‘infinite’ which means the marquee element scrolls endlessly.
Bgcolor:
This is used to specify the background color to the marquee elements.
Hspace and Vspace:
This is for defining the horizontal and vertical space around the marquee, The value can be in pixels or percentage.
An HTML code to demonstrate marquee: