General HTML Questions Page 14

Ram Pothuraju



121.To align the data vertically inside the cells of a table,the attribute used is

  a)ALIGN

  b)VERTICALALIGN

  c)VALIGN

  d)none

ans:c

122.Alignment of data inside a table should be done

  a)row wise

  b)column wise

  c)it can be done in either way

  d)none of the above

ans:a

123.To create a heading that spans for more than one column of a table,the attribute
    that is used is

  a)SPAN

  b)COLSPAN

  c)ROWSPAN

  d)SPN

ans:b

124.The attribute that is used to span more than one row of a table is

  a)SPAN

  b)COLSPAN

  c)ROWSPAN

  d)spanning can be done only to columns

ans:c

125.The atribute used to set the colours in a table is

  a)COLOR

  b)BGCOLOR

  c)COLOUR

  d)BGCOLOUR

ans:b

126.The attribute BGCOLOR can be used for the element(s)

  a)TABLE

  b)TR

  c)TH

  d)all the above

ans:d

127.What are the two table dimension tags?
 
   a)<TL> and TW>
 
   b)<TR> and <TD>
 
   c)<TD> and <T>

   d) <TR> and TC>

ans:b

128.What does this line of HTML <td height="38"></td> do?

   a)Sets the height of the table to 38 pixels.

   b)Sets the height of the cell to 38 pixels.

   c)It's not valid.

   d)gives a space of 38 pixels between the cells and their elements

ans:b

129.What would 'BORDER=5' do?

   a)Sets the border around the cell to 5 percent.

   b)Sets the border around the cell to 5 pixels.

   c)Sets the border around the table to 5 pixels.

   d)none

ans:c

130.What does the table attribute 'NOWRAP' do?

   a)Disables automatic word wrap in the entire table.

   b)Disables automatic word wrap in a particular cell.

   c)Enables automatic word wrap in the entire table.

   d)Enables automatic word wrap in a particular cell.

ans:b

131.Is this line valid: <table width="75%" border="4" cellspacing="5" cellpadding="5" align="center">?

   a)Yes

   b)No

ans:a

132.Which of the following is a legitimate list with bullets?
 
   a)list: <LI>onesey <LI>twosey

   b)<UL>list: <LI>onesey <LI>twosey </UL>

   c)list: <UL> <LI>onesey <LI>twosey

   d)<OL>list: <LI>onesey <LI>twosey </OL>

ans:b


133.Which of the following is NOT true about the '<LI>' tag?

   a)<LI> is used to create a list item

   b)The '<LI>' tag should only occur inside a list

   c)The '<LI>' tag marks the beginning of a list item

   d)Everything after the '<LI>' tag and before the next '</LI>' tag is one list item

ans:d

134.TRUE or FALSE: All text between the opening '<UL>' tag and the first '<LI>'
    tag constitutes a list "heading":

   a)True

   b)False

ans:a

135.TRUE or FALSE: A '<BR>' tag should be placed at the end of any list heading text.

   a)True

   b)False

ans:a

136.At a basic structural level, HTML tables are:
 
   a)a series of text

   b)a series of data

   c)a series of rows

   d)a series of columns

ans:c

137.Use of the close tags </TR>, </TD>, and </TH> is not required.

   a)True

   b)False

ans:a

138.Which of the following fragments contains incorrect HTML?

   a)<TABLE border>

   b)<TR> <TD>Hi!</TD> </TR>

   c)<TR> <TD>79.8%</TD> <TH>Agree</TH> </TR>

   d)<CAPTION align="right">Figure 1.7</CAPTION>

ans:d

139.which of the following elements make a column occupy 50% of the width
    of the table

   a)<WIDTH="50%">

   b)<COLGROUP WIDTH="50%">

   c)either a or b can be used

   d)<COLUMN WIDTH="50%">

ans:b

140.The element <COLGROUP SPAN="3" WIDTH="30%">

   a)makes the three columns combinedly occupy a 30% of total table width

   b)makes the three columns each occupy a 30% of total table width

   c)it is syntactically wrong

   d)combines the three columns

ans:b





PREVIOUS NEXT

Post a Comment

0Comments

Post a Comment (0)