Correct option is B
In HTML (including the latest version, HTML5), the
<table> tag is used to create a table structure in a webpage. It is accompanied by other related tags like <tr> (table row), <td> (table cell), and <th> (table header).
Important Key Points:
1. The <table> tag remains unchanged in
HTML5 and is the standard way to create tables in HTML documents.
2. Supporting tags include:
· <thead> for defining table headers.
· <tbody> for grouping table rows.
· <tfoot> for defining the table footer.
3. HTML5 introduced new semantic tags like <section> and <article>, but the <table> tag remains for tabular data.
Knowledge Booster:
·
<div>: Used as a container for grouping elements but does not create tables.
·
<grid>: Not a valid HTML tag;
CSS Grid is used for layout, but it doesn’t use a tag.
·
<html-table>: Not a valid HTML tag; <table> is the correct choice.
·
<section>: Used for defining sections of a webpage, not for creating tables.