Dannycom Logo

HTML Basics Self Test

  1. Which of these tags belongs to table?
    1. <thead>,<body>,<tr>
    2. <table>,<head>,<tfoot>
    3. <table>,<tr>,<td>
    4. <table>,<tr>,<tt>
  2. Which of the following tags gives a caption to the table?
    1. <caption>
    2. <head>
    3. <heading>
    4. None of these
  3. Which of the following is used to specify the beginning of a table’s row?
    1. <td>
    2. <tr>
    3. <row>
    4. <tt>
  4. HTML tag for row is
    1. <colspan>
    2. <tr>
    3. <rowspan>
    4. <td>
  5. Which tag is used to add columns in the tables?
    1. <colspan>
    2. <td>
    3. <tr>
    4. None of these
  6. This tag is used to specify the individual table data in a table.
    1. <tr>
    2. <td>
    3. <th>
    4. <table>
  7. In order to add border to a table, border attribute is specified in which tag?
    1. <th>
    2. <table>
    3. <td>
    4. <tr>
  8. The attribute used to set the border color of a table is
    1. border
    2. bordercolor
    3. color
    4. border color
  9. Which of the following is an attribute of < table > tag?
    1. src
    2. cellpadding
    3. link
    4. bold
  10. Which attribute of the < table > tag is used to set an image in the background of a table?
    1. bgcolor
    2. background
    3. frame
    4. rules
  11. The attribute used to specify the background cofor of a table is
    1. background
    2. bgtable
    3. color
    4. bgcolor
  12. The two common attributes of the <img> and the <table> tag are
    1. src and height
    2. height and width
    3. border and src
    4. they do not have any common attributes
  13. Which of the following is not an attribute of < table > tag?
    1. border
    2. background
    3. bgcolor
    4. src
  14. In the <td> tag, td stands for
    1. Table Data
    2. Table Definition
    3. Table Design
    4. None of these
  15. What is the correct HTML code to left align the content inside a table cell?
    1. <td valign = “left”>
    2. <td align = “left”>
    3. <td left align>
    4. <td left>
  16. Choose the correct HTML code to right align the content inside a table cell.
    1. <td align = “right”>
    2. <td valign = “right”>
    3. <td right=”align”>
    4. None of the above
  17. Which attribute helps to align data vertically in a single cell.
    1. align
    2. valign
    3. halign
    4. format
  18. To add rows to a table we use __________ tag .
    1. <TD>        
    2. <TROW>
    3. <TR>       
    4. <ROW>

19. _________ tag  is used to specify the rows in a table.     

  1. <TR>              
  2. <TD>            
  3. <TH>         
  4. <TABLE>

20. The tag to create a table is __________

  1. <table>            
  2. <caption>             
  3. <td>
  4. <tr>

    21. What tag is used to add columns to table ?

    1. <th>
    2. <td>    
    3. <tr>
    4. <tc>

    22. Which of the following is not an attribute of the <Table >tag

    1. BGCOLOR
    2. WIDTH
    3. BORDER
    4. SRC

    23. The _________ Tag is used to specify the table heading cell

    1. <TR>
    2. <TD>
    3. <TH>
    4. <TABLE>

    Share this post :

    Facebook
    Twitter
    LinkedIn

    2 Responses

    1. Wow, fantastic blog layout! How long have you ever been blogging?

      You made running a blog glance easy. The whole look of your site is excellent, let alone the content!

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Create a new perspective on life

    Your Ads Here (365 x 270 area)
    Latest News
    Categories

    Subscribe our newsletter

    Purus ut praesent facilisi dictumst sollicitudin cubilia ridiculus.

    Read more articles