1. Question: What is meant by the cellspacing attribute?

    A
    It makes the cell span more than one column.

    B
    It specifies the space between the cell wall and the contents of the cell.

    C
    It specifies the space between two cells.

    D
    It makes the cell span more than one row.

    Note: Not available
    1. Report
  2. Question: Which of the following attributes comes in handy when borders have to be put between groups of columns instead of every column?

    A
    col

    B
    colgroup

    C
    rowspan

    D
    row

    Note: Not available
    1. Report
  3. Question: A few lines in an HTML paragraph are to be formatted differently from the rest of the lines. Which tag will assist in this?

    A
    div

    B
    p

    C
    span

    D
    format

    Note: Not available
    1. Report
  4. Question: How will you specify a comment in an HTML document?

    A
    <!!- Here is a comment... -!>

    B
    <-Here is a comment.. ->

    C
    <!-- Here is a comment.. -->

    D
    <! Here is a comment... -!>

    Note: Not available
    1. Report
  5. Question: Which of the following is correct regarding the frame attribute in the <table> tag?

    A
    It is used to add a frame to the table.

    B
    A hsides value for the frame attribute will show the border lines for horizontal sides only.

    C
    A hsides value for the frame attribute will not show the border lines for horizontal sides only.

    D
    A hsides value for the frame attribute will add a scrollable frame on the horizontal sides.

    Note: Not available
    1. Report
  6. Question: What is meant by cellpadding?

    A
    It makes the cell span more than one column.

    B
    It specifies the space between the cell wall and the contents of the cell.

    C
    It specifies the space between two cells.

    D
    It makes the cell span more than one row.

    Note: Not available
    1. Report
  7. Question: Within a table cell <td>:

    A
    <p></p> tags cannot be used.

    B
    <ol></ol> tags cannot be used

    C
    <table></table> tags cannot be used.

    D
    <form></form> tags cannot be used.

    E
    All the above tags could be used.

    Note: Not available
    1. Report
  8. Question: You want to display a table listing out customer names and their contact information. The heading of the table is shown in the figure. What is the code for creating the first line of the table heading?

    A
    a. <tr> <th>Customer Name</th> <th colspan=3>Contact</th> </tr>

    B
    b. <tr> <th>Customer Name</th> <th cellpadding=3>Contact</th> </tr>

    C
    c. <tr> <th>Customer Name</th> <th rowspan=3>Contact</th> </tr>

    D
    d. <tr> <th>Customer Name</th> <th cellspacing=3>Contact</th> </tr>

    Note: Not available
    1. Report
  9. Question: What would you infer from the following code in an HTML 4.01 Web site? <body topmargin=2 leftmargin=2>

    A
    The top margin and left margin of the webpage is 2 pixels.

    B
    The bottom margin and right margin of the web page is 2 pixels.

    C
    Both of the above.

    D
    None of the above. The topmargin and leftmargin attributes are not valid HTML 4.01 body attributes.

    Note: Not available
    1. Report
  10. Question: You specified a base tag and anchors as follows: 1. <base target="_blank"> 2. <a href="http://www.yahoo.com">Yahoo</a> 3. <a href="http://www.google.com" target="_top">Google</a> Which of the following is true for the above code?

    A
    Only the Yahoo link will open in a new window.

    B
    Only the Google link will open in a new window.

    C
    Both links will open in a new window.

    D
    Both links will open in the same window.

    Note: Not available
    1. Report
Copyright © 2025. Powered by Intellect Software Ltd