Advertisements
Advertisements
Question
What are the core tags used to create table in HTML?
Answer in Brief
Advertisements
Solution
There are five core tags are used to create a table in HTML, They are,
<table> tag is used to create a table.
<tr> tag defines table rows
<th> tag defined table columns
<td> tag is used to specify the data in a cell
<caption> tag defines title for the table
Example:
<Table border= 10>
<Caption> Book Name </Caption>
<TR>
<TH> Book </TH>
<TD> Computer Application </TD>
</TR>
</Table>shaalaa.com
Is there an error in this question or solution?
