Computer Science, asked by kameshwaran1818, 4 months ago

FIND OUT THE ERROR IN THE GIVEN HTML PROGRAM AND TABULIZE IT:

#!HTML> ERRORS!

<HEAD>

<TITLE>CREATE A TABLE<\TITLE>

</HD>

<BODY TOPMARGIN="50" LEFTMARGIN"50" BGCOLOR="PINK’><BR>

</BR>

<TABLE>

<TR> <TH> S.NO </TH><TH>NAME</TH><TH> MARKS </TH> </TR>

<TR> <TD> 1</TD> <TD>AAAA</TD><TD> 500</TD> </TR>

</BODY>

<TR> 2</TD> <TD>BBBB</TD><TH> 465</TH> </TR>

<T> <TD> 3</TD> <TD>CCCC<\TD><TD> 389</TD> </TR>

<TABLE>

</XML>​

Answers

Answered by kiran486565
0

Answer:

what is this

what is this

Answered by krishnahari59
2

Explanation:

!DOCTYPE html>

<html>

<head>

<style>

table, th, td {

border: 1px solid black;

border-collapse: collapse;

}

th, td {

padding: 5px;

text-align: left;

}

</style>

</head>

<body>

<h2>Cell that spans two columns</h2>

<p>To make a cell span more than one column, use the colspan attribute.</p>

<table style="width:100%">

<tr>

<th>Name</th>

<th colspan="2">Telephone</th>

</tr>

<tr>

<td>Bill Gates</td>

<td>55577854</td>

<td>55577855</td>

</tr>

</table>

</body>

</html>

Similar questions