Page 161 - CA_165_V2.0_Flipbook
P. 161
Unsolved Exercise 11. Which attribute of the <TABLE> tag is used to specify the space between the cell content and the cell
border?
i. CELLPADDING ii. CELLSPACING
SECTION A
(Objective Type Questions) iii. BORDER iv. WIDTH
A. Multiple choice questions. B. Fill in the blanks.
1. Which of the following tags can be use to give a heading to a table? 1. GIF stands for ................................. .
i. <HEAD> ii. <HN> 2. ................................. tag is used for creating hypertext links.
iii. <CAPTION> iv. <TITLE> 3. The default alignment of images that are inserted in the web page is ................................. .
2. Which one of the following HTML code is used to align the content to left inside a table cell? 4. ................................. attribute is used to specify the height of the image in pixels or percentage.
i. <TD VALIGN = “LEFT”> ii. <TD LEFT>
5. ................................. attribute is used with the <IMG> tag to specify the location and name of the image file.
iii. <TD ALIGN = “LEFT”> iv. <TD LEFT ALIGN>
C. Assertion and Reasoning questions.
3. The correct code to merge two columns in a table is:
i. < TD SPAN = "2"> ii. <TD COLSPAN = "2"> The following questions consist of two statements – Assertion (A) and Reasoning (R). Answer these
questions by selecting the appropriate option given below:
iii. <TD COLUMN SPA ="2"> iv. <COLSPAN ="2">
i. Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of Assertion (A).
4. Rajesh, an IT club volunteer of the school, needs to add a picture of ‘Green Earth’ in the center of a
webpage designed to spread awareness on saving the environment. Help him in choosing the correct ii. Both Assertion (A) and Reason (R) are true but Reason (R) is not the correct explanation of Assertion (A).
HTML command for the same. iii. Assertion (A) is true, but Reason (R) is false.
i. <PICTURE> ii. <IMAGE> iv. Assertion (A) is false, but Reason (R) is true.
iii. <IMG> iv. <PICT>\ 1. Assertion (A): The action attribute of the <form> tag specifies the URL where the form data should be
5. A webpage can be accessed by a: sent for processing.
i. Text editor ii. Spreadsheet Reason (R): Without the action attribute, the form data is sent to a fixed URL, different from the URL the
form is on.
iii. Web browser iv. Office application
2. Assertion (A): Internal linking in HTML allows users to navigate to external web pages.
6. Which of the following is not a valid value for the target attribute of <a> tag? [CBSE SQP 2023-24]
Reason (R): The name or id attribute is used to define a section or segment within a document for internal
i. _blank ii. _self
linking.
iii. _top iv. _bottom
D. Source-based/Case-based/Passage-based question.
7. The ................................. attribute of <img> tag specifies an alternate text for an image, if the image cannot
be displayed. [CBSE SQP 2023-24] Sometimes in web page, it is necessary to represent the data in a tabular format for better understanding. A
table consists of rows and columns. HTML also facilitates displaying tables on a web page. This tag is used to
i. alt ii. text
create table in a web page. It is used within the body of the HTML document. Syntax of <TABLE> tag is:
iii. alternate iv. msg
<TABLE>
8. Which tag is used to insert a sound file into a webpage?
..........................
i. <AUDIO> ii. <VIDEO>
</TABLE>
iii. <SOUND> iv. <MEDIA>
1. Which of the following tags is used to create grid of rows?
9. Which tag is used to create a block of text that is visually separated from the rest of the content, typically i. <TD> ii. <TM>
used for quotes?
iii. <TR> iv. <TL>
i. <PRE> ii. <BLOCKQUOTE>
2. Which HTML code is used to align the content to left inside a table cell?
iii. <SUB> iv. <SUP>
i. <TD VALIGN = "left"> ii. <TD left>
10. Which tag is used to create a table header in HTML?
iii. <TD ALIGN ="left"> iv. <TD left align>
i. <TR> ii. <TD>
iii. <TH> iv. <TABLE>
More About HTML 159

