write HTML coding for this fast
Attachments:
rahimkhan31:
he
Answers
Answered by
1
<html>
<body>
<table border=1>
<tr>
<td>A</td>
<td>B</td>
<td>C</td>
</tr>
<tr>
<td>D</td>
<td>E</td>
<td>F</td>
</tr>
<tr>
<td>G</td>
<td>H</td>
<td>I</td>
</tr>
</TABLE>
</body>
</html>
<body>
<table border=1>
<tr>
<td>A</td>
<td>B</td>
<td>C</td>
</tr>
<tr>
<td>D</td>
<td>E</td>
<td>F</td>
</tr>
<tr>
<td>G</td>
<td>H</td>
<td>I</td>
</tr>
</TABLE>
</body>
</html>
Answered by
1
Answer:-
This is the html code for the given table.
<!DOCTYPE html>
<html>
<head>
<title>Tables</title>
<style>
table
{
border:2px;
border-collapse: collapse;
width:600px;
}
td.x{
text-align: left;}
td.y{
text-align: center;}
td.z{
text-align: right;}
</style>
</head>
<body>
<table border=4>
<tr>
<td class=x>A
<td class=y>B
<td class=z>C
</tr>
<tr>
<td class=x>D
<td class=y>E
<td class=z>F
</tr>
<tr>
<td class=x>G
<td class=y>H
<td class=z>I
</tr>
</table>
</body>
</html>
Similar questions