Write a program for creating a table(2X2) in html
Answers
Answered by
0
Explanation:
First open the table:
Open the first row with the tr tag:
Open the first column with the td tag:
Write the contents of the cell.
Close the first cell and open the second:
Write the contents of the second cell.
Close the second cell and close the row:
Write the second row exactly as the first:
Then close the table:
That's it!
You could also choose to add table headers to your table using the
element. These table headers would replace the "table data" pieces in the first table row, like this:
Name
Role
Jeremy
Designer
Jennifer
Developer
Similar questions