What html tag does the table tag belong to? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What html tag does the table tag belong to?

Hi im learning html and i need to know the answer.Thank u:)

22nd Aug 2021, 3:32 PM
Ultra_Playz
Ultra_Playz - avatar
8 Answers
22nd Aug 2021, 3:58 PM
Simba
Simba - avatar
+ 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>
22nd Aug 2021, 3:57 PM
Brain & Bones
Brain & Bones - avatar
+ 1
Ur question is wrong! Its a block element that has followed other tags like tr, Th,TD.
22nd Aug 2021, 5:32 PM
Ahmed Afgooye 🇸🇴 🇸🇴
Ahmed Afgooye 🇸🇴 🇸🇴 - avatar
+ 1
Ok thx
22nd Aug 2021, 5:43 PM
Ultra_Playz
Ultra_Playz - avatar
+ 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.
24th Aug 2021, 1:01 PM
Sanjay Kamath
Sanjay Kamath - avatar
0
Oh thank you im new to html and im trying my best to learn it :)
22nd Aug 2021, 4:42 PM
Ultra_Playz
Ultra_Playz - avatar
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>
23rd Aug 2021, 2:12 PM
Arun Jamson
Arun Jamson - avatar
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
24th Aug 2021, 6:05 AM
Nipun
Nipun - avatar