which tag allows to add a row in a table?
a . Tr tag and / tr tag
b . Cr tag and / cr tag
c . Th tag adn / th tag
d. Td tag and /td tag
Answers
Hi,
Here is your answer,
Question = Which tag allows to add a row in a table?
a) Tr tag and / tr tag
b) Cr tag and / cr tag
c) Th tag and / th tag
d) Td tag and /td tag
Answer = d) Td tag and /td tag
The correct option is (D)
Hope it helps you !
"The tag which allows a web developer to add a row in a table is a) <tr> tag. It is used in combination with its ending tag as <tr>Row Content</tr>.
It can only be used inside a table tag i.e., <table></table>. The table row tag is pretty much insignificant on its own. It is needed to be used in combination with <table>, <th>, and <td> tags.
An example of the usage of <tr> tag is given below:
<table>
<tr>
<th>A</th>
<th>Heading</th>
<th>Row</th>
</tr>
<tr>
<td>The first</td>
<td>row of</td>
<td>table data</td>
</tr>
<tr>
<td>The second</td>
<td>row of</td>
<td>table data</td>
</tr>
</table>"