1. <CAPTION> tag gives a description of the table.                                                              ( )
  2. An image can be used as a hyperlink to another document.                                     ( )

D. Answer in one word or a sentence:

  1. Which attribute is used to combine the cells of a table vertically?
  2. What is the default border colour of a HTML table?
  3. Name the attribute which is used to set the background image for the table.
  4. Name the tag used to group header rows, that defines a table header.
  5. Name the link that allows visitors to send an e-mail message quickly.
  6. Which attributes of <A> tag specifies the name of the anchor being set up ?
  7. When creating, a web document, which unit is used to express an image's height and width?
  8. Which type of image is not shown automatically with other content on the webpage?
  9. Mention the HTML tag to left-align the content inside a table cell.

ANSWERS

A.Multiple choice questions.
1.(c)      2.(a)      3.(a)       4.(b)       5.(c)       6.(a)
7.(b)      8.(b)      9.(d)     10.(b)     11.(a)     12.(d)
13.(b)    14.(d)    15.(d)    16.(b)    17.(a)    18.(c)

B.Fill in the blanks
1.Integer   2.Vspace   3.Src   4.Height, Width
5.<IMG>    6.Internal    7.Top, bottom, middle 8.Rows, Coloumns    9.Cell spacing    10.1 11.width   12.<TR>
C.State true or false
1.(T)         2.(F)         3.(T)         4.(F)         5.(T)
6.(F)         7.(F)         8.(T)         9.(T)       10.(T)
11.(F)      12.(F)      13.(T)      14.(T)      15.(T)
D.Answer in one word or a sentence.
1.Rowspan             2.Gray             3.Background
4.<THEAD> tag      5.Malito         6.Name
7.Integer or percentage value
8.External image         9.<TD Align ="Left">

SECTION 2:LONG ANSWER TYPE QUESTIONS-(SOLVED)

1.Which HTML tag is used to insert an image in a page? Write an attribute used with this tag.
Ans.
The <IMG> tag is used to add images in an HTML document. The Src attribute helps in defining the source of an image.

2.The following code is written to align an image in the center of the browser window. However, the desired result is not achieved. Give reasons.
<IMG Src="house.gif" Align="Center">
Ans.
The center value is invalid in the Align attribute of the <IMG> tag. If the image has to be centered, the following code has to be written:
<center><IMG Src="house.gif"></center>

3.How can border be set for an image ?
Ans.
We can add border around an image by using the Border attribute. It accepts value in terms of pixels.
Example:
<HTML>
<HEAD>
<TITLE>SETTING BORDERS </TITLE>
</HEAD>
<BODY>
<CENTER>
<IMG Src="Flower.gif" Border=5>
</CENTER>
</BODY>
</HTML>

Learning computers with K ips

page no:139
         
Home