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.
Join The Discussion
Comments (1)
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
Which of the following is not a difference between HTML and XHTML
A. Charset in html is “text/html” where as in xhtml it is “application/xml+xhtml”
B. None of the mentioned
C. Tags and attributes are case-insensitive in HTML but not in XHTML
D. Special characters must be escaped using character entities in XHTML unlike HTML
What indicates the content in file is HTML when delivered on the network.
A. The extension of the file “.html”
B. The “content-type” header
C. Both “.html” extension and “content-type” header
D. None of the mentioned

Give an example