0
What html tag does the table tag belong to?
Hi im learning html and i need to know the answer.Thank u:)
8 Réponses
+ 8
To create tables
https://www.sololearn.com/learn/HTML/1033/?ref=app
+ 4
What do you mean what does the table tag belong to?
It is a block element and can be placed directly into the body.
Some of the tags that can be placed in it includes:
<td>
<tr>
<caption>
+ 1
Ur question is wrong!
Its a block element that has followed other tags like tr, Th,TD.
+ 1
Ok thx
+ 1
Table is a set of tags by itself and includes the tr tags and within that multiple td tags. eg. A Table with 3 rows and 4 columns gives 3 tr and 12 td tags.
0
Oh thank you im new to html and im trying my best to learn it :)
0
The HTML <table> tag is used for defining a table. The table tag contains other tags that define the structure of the table.
Example:
<!DOCTYPE html>
<html>
<head>
<title>HTML table Tag</title>
</head>
<body>
<table border = "1">
<tr>
<th>Team</th>
<th>Ranking</th>
</tr>
<tr>
<td>India</td>
<td>1</td>
</tr>
<tr>
<td>South Africa</td>
<td>2</td>
</tr>
<tr>
<td>Australia</td>
<td>3</td>
</tr>
</table>
</body>
</html>
0
<table>
<Th></th><tr><td></td></tr>
</Table>
th contain table header
tr is comtaining the rows
td used to what data u want show in table