Tables in HTML

@T-Bone

This question paper focuses on the "Tables" of HTML. These Multiple Choice Questions (mcq) should be practiced to improve the HTML skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations.

This question paper focuses on the "Tables" of HTML. These Multiple Choice Questions (mcq) should be practiced to improve the HTML skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations.

Questions

1. Which HTML tag is used to define a table?

Mark the correct option

2. With the help of which tag, is a row defined in HTML?

Mark the correct option

3. Choose the correct option.

Mark the correct option

4. By using which of the following options, the border of table can be collapsed?

Mark the correct option

5. Fill in the blanks with the help of options given below in order to get the following table when the below code is executed. <!DOCTYPE html> <html> <body> <table border="2"> <tr> <th>Name</th> <th>Phone no</th> </tr> <tr> <td ______________>John</td> <td>9898989898</td> </tr> <tr> <td>9876543210</td> </tr> </body> </html> Name Phone no John 9898989898 9876543210

Mark the correct option

6. In order to add space of 20px between cell content and its border of a table in html, which one of the following option is appropriate?

Mark the correct option

7. Which one of the following tags is used to add caption to a table?

Mark the correct option

8. Which one of the following can be used to define the spacing between the cells of a table?

Mark the correct option

9. By default, the content written between and are placed at center. How can it be put at left side of the cell of the table?

Mark the correct option

10. Fill in the blanks with the help of options given below in order to get the following table when the below code is executed. <!DOCTYPE html> <html> <body> <table border="2"> <tr> <th>Name</th> <th ____________>Phone no</th> </tr> <tr> <td>John</td> <td>9898989898</td> <td>9876543210</td> </tr> </body> </html> Name Phone no John 9898989898 9876543210

Mark the correct option

Index of Questions