Examveda

Which of the following are table tags?

A. table, thead, tr, td

B. colspan, table, tr

C. table, tt, tr, td

D. none of the mentioned

Answer: Option A

Solution (By Examveda Team)

Table tags in HTML are used to create and structure tables. They include various tags to define the table structure, rows, headers, and data cells.

Option A: table, thead, tr, td - This is the correct answer. These tags are all used in defining a table in HTML:

table - Defines the table itself.

thead - Defines the header section of the table.

tr - Defines a table row.

td - Defines a table data cell.

Option B: colspan, table, tr - This is incorrect. While table and tr are table tags, colspan is an attribute, not a tag.

Option C: table, tt, tr, td - This is incorrect. While table, tr, and td are table tags, tt is not a table tag; it represents teletype text.

Option D: none of the mentioned - This is incorrect because Option A correctly lists table tags.

This Question Belongs to HTML >> Basic HTML

Join The Discussion

Comments (1)

  1. Aryan Shantam
    Aryan Shantam:
    5 years ago

    Give an example

Related Questions on Basic HTML

Choose the correct statement of HTML

A. In traditional XHTML close tag for some elements is optional but not encouraged

B. In traditional HTML close tag for some elements is optional but not encouraged

C. None of the mentioned

D. In both traditional XHTML and HTML close tag for some elements is optional