Computer Science, asked by Anonymous, 4 months ago

Write an HTML document to create table,which has three rows and three columns.The contents of the first row should appear as headings and they should be Center aligned,while the second row should be left align and the third row right aligned,Contents of the cell can be any.

Answers

Answered by AltamasFazal
4

<html>

<head>

<title>Table Data</title>

</head>

<body>

<table border="2px">

<tr align="center">

<th>First</th>

<th>Second</th>

<th>Third</th>

</tr>

<tr align="left">

<td>f 1</td>

<td>s 1</td>

<td>t 1</td>

</tr>

<tr align="right">

<td>f 2</td>

<td>s 2</td>

<td>t 2</td>

</tr>

</table>

</body>

</html>

------------------

Enjoy❤❤❤

Similar questions