Computer Science, asked by vardhanjain2160apskh, 3 months ago

State True or False- To
create a table in HTML,
<table> tag is used.​

Answers

Answered by anindyaadhikari13
0

Answer:

  • To create a table in HTML, <table> tag is used - True.

Explanation:

→ In HTML, the table element is used to create a table.

General Syntax:

<table border="border_value">

 <tr>

   <td>Item 1.

  <td>Item 2.

 </tr>

 <tr>

   <td>Item 3.

  <td>Item 4.

 </tr>

</table>

In the above HTML c∅de, 2 x 2 table is created.

<tr> tag defines the table row. You can see that there are 2 <tr> tags. So, there are two rows in table. Now, inside each <tr> tag, there are 2 <td> tags. The <td> tag defines the table data. As there are two <td> tags, there are 2 columns of the table.

Similar questions