<tr> HTML Tag
In this article we will discuss about how to use tr tag in HTML.
The <tr> tag stands for table Row. It is used for specifying a row within the table. It comes under table tag .We can specify any no. of table row in a table.
HTML Code:
<html>
<head>
<title></title>
</head>
<body>
<table border="1">
<tr>
<th>
Actor
</th>
<th>
Actress
</th>
</tr>
<tr>
<td>
Sharukh
</td>
<td>
Kajol
</td>
</tr>
<tr>
<td>
Amitabh
</td>
<td>
hema Malini
</td>
</tr>
<tr>
<td>
Shahid
</td>
<td>
priyanka chopra
</td>
</tr>
</table>
</body>
</html>
|
Output:
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here