Page 110 - CA 165 ver 1.0 Class 10
P. 110
Solved Exercise
PART A
A. Very short answer type questions.
1. Which attribute is used to align an image to the right side of the web page?
2. Which attribute is used to set an image with the space between the surrounding text on the left and right
as 5 pixels?
3. Which tag is used to write the chemical formula of water?
4. Which tag is used to indent all the lines of the paragraph on the by two indent spaces?
5. Which tag is used to retain the entire tab spaces used in a paragraph while writing the code?
Ans. 1. align 2. hspace 3. <sub>
4. <blockquote> tag 5. <pre> tag
B. Fill in the blanks.
Complete the given code to create a table as shown in the image:
Deluxe Room Tariff
AC Non AC
Type
2500 2000
i. <table .........................=2 .........................=green>
ii. <tr><th .........................=.........................>Deluxe Room Tariff</th>
iii. .........................<th .........................=2>Type</th><.........................>AC<......................... ><th> NON AC
</th>.........................
iv. <tr> ......................... 2500 ......................... <td> 2000</td></tr>
</table>
Ans. i. border bgcolor
ii. colspan 3
iii. <tr>rowspan th /th </tr>
iv. <td> </td>
C. Case Based MCQs
The <IMG> (Image) tag is an empty tag. The attribute SRC (Source) is used with the IMG tag to specify the location
and name of the image file. The <P> tag should be placed before the <IMG> tag because the <IMG> tag does not
form a new block element and would appear in the same line unless we add <P> tag. A blank line appears before
and after the image when the image insention tag <IMG> is enclosed within <P> and </P> tags.
1. Which of the following is not an attribute of the <IMG>tag?
i. Border ii. Width
iii. Height iv. All of these
108 Touchpad Computer Applications-X

