Computer Science, asked by diya23092005, 9 months ago

plz someone answer this question ​

Attachments:

Answers

Answered by anishadadwal33
1

Answer:

<html>

<head>

<style>

table{ border-collapse:collapse;}

table,th,td,tr{

border:1px solid black;

}

</style>

</head>

<body>

<table border=1 px>

<tr>

<th colspan="6">Time Table</th>

</tr>

<tr><th rowspan="6">Hours</td>

<td>Mon</td>

<td>Tue</td>

<td>Wed</td>

<td>Thu</td>

<td>Fri</td></tr>

<tr><td>Science</td>

<td>Maths</td>

<td>Science</td>

<td>Maths</td>

<td>Arts</td></tr>

<tr><td>Social</td>

<td>History</td>

<td>English</td>

<td>Social</td>

<td>Sports</td></tr>

<tr><th colspan="5">Lunch</th>

</tr>

<tr><td>Science</td>

<td>Maths</td>

<td>Science</td>

<td>Maths</td>

<td rowspan="2">Project</td></tr>

<tr><td>Social</td>

<td>History</td>

<td>English</td>

<td>Social</td>

</table>

</body>

</html>

Explanation:

while creating the table in html,we have to use some tags like <table>,<tr>,<td>,<th>

<table> tag is use to create a table.

<tr> tag use to create a table ror.

<th> is use to create table heading.

<td> is use to create table data.

For creating table boundries we have to create table style in <head> tag.

Similar questions