nerdexam
GIAC

GSNA · Question #371

Sam works as a Web Developer for McRobert Inc. He creates a Web site. He wants to include the following table in the Web site: He writes the following HTML code to create the table: 1. <TABLE…

The correct answer is D. at line 3 at line 4. The tag is used to specify each cell of the table. It can be used only within a row in a table. The ROWSPAN attribute of the tag specifies the number of rows that a cell spans over in a table. Since, the first cell of the table spans over three rows, Sam will use . specifies…

Database & Application Auditing

Question

Sam works as a Web Developer for McRobert Inc. He creates a Web site. He wants to include the following table in the Web site: He writes the following HTML code to create the table: 1. <TABLE BORDER="1" WIDTH="500"> 2. <TR> 3. 4. 5. </TR> 6. <TR> 7. <TD> 8. </TD> 9. <TD> 10. </TD> 11. <TD> 12. </TD> 13. </TR> 14. <TR> 15. <TD> 16. </TD> 17. <TD> 18. </TD> 19. <TD> 20. </TD> 21. </TR> 22. </TABLE> Which of the following tags will Sam place at lines 3 and 4 to create the table?

Options

  • Aat line 3 at line 4
  • Bat line 3 at line 4
  • Cat line 4 at line
  • Dat line 3 at line 4

How the community answered

(37 responses)
  • A
    3% (1)
  • B
    8% (3)
  • C
    5% (2)
  • D
    84% (31)

Explanation

The tag is used to specify each cell of the table. It can be used only within a row in a table. The ROWSPAN attribute of the tag specifies the number of rows that a cell spans over in a table. Since, the first cell of the table spans over three rows, Sam will use . specifies the number of columns that the head row contains. Answer: C is incorrect. Placing the tags given in this option at lines 3 and 4 will create the following table: Answer: A, B are incorrect. There are no attributes such as SPAN and SPANWIDTH for the tag.

Topics

#HTML tables#TH tag#table header#web development

Community Discussion

No community discussion yet for this question.

Full GSNA Practice