Which tag is used to add a row in an HTML table?

Enhance your HTML skills with our HTML Tags Test. Challenge your expertise through interactive flashcards and multiple-choice questions. Each question includes hints and thorough explanations. Prepare effectively for your HTML examination!

Multiple Choice

Which tag is used to add a row in an HTML table?

Explanation:
The <tr> tag is used to create a table row in an HTML table. It is a fundamental tag that groups together a set of table cells within a specific row. Each <tr> element can contain multiple table data cells, which are designated by the <td> tag, or header cells, which are indicated by the <th> tag. To visualize how a table is structured, consider that the <table> tag creates the overall table container, and within that container, each <tr> tag represents a horizontal row. Then, within each <tr>, <td> tags add the actual data, while <th> tags are often used for headers to define the nature of the data contained in each column. The other tags mentioned do serve their functions within tables but do not create a row. The <td> tag is specifically for defining individual cells, <th> is used for header cells, and <row> is not a valid tag in HTML. Therefore, the <tr> tag is the correct choice for adding a new row in a table.

The tag is used to create a table row in an HTML table. It is a fundamental tag that groups together a set of table cells within a specific row. Each element can contain multiple table data cells, which are designated by the tag, or header cells, which are indicated by the tag.

To visualize how a table is structured, consider that the

tag creates the overall table container, and within that container, each tag represents a horizontal row. Then, within each , tag is the correct choice for adding a new row in a table.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy

© Examzify by Kaluba Technologies Incorporated. 2026 All rights reserved.

logo
logo
tags add the actual data, while tags are often used for headers to define the nature of the data contained in each column.

The other tags mentioned do serve their functions within tables but do not create a row. The

tag is specifically for defining individual cells, is used for header cells, and is not a valid tag in HTML. Therefore, the