Computer Science, asked by anshdixit4869, 6 months ago

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 Anonymous
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 Anonymous
11

Answer:

here is your answer.......

Attachments:
Similar questions