Saroj, a student of Class X, wants to represent a table in webpage but she is unaware about the
table tag. Explain her the role of <th>,<tr>,<td> tag. Write HTML code of a table and show the use of
<th>,<tr>,<td> tag
Answers
Answered by
62
Answer:
Table tag is used to create a table in html.
the following are the html code for table :-
< html >
< head>
<title > table tag </ title >
</ head>
< body>
< table border="1">
<tr >
< th> name </ th>
< th > class < / th>
</ tr>
< tr>
< td > ram </ td>
< td > 10th </ td>
</tr >
</ table >
</ body >
</ html>
Answered by
11
Answer:
here is your answer.......
Attachments:
Similar questions