How to Set Color in Table

<html>
<body>
<h4>A Background Color:</h4>
<table border="1" bgcolor="pink">
  <tr> 
            <th>Name</th> 
			<th>Job Title</th>
			<th>Phone No.</th>
  </tr>
  <tr> 
            <td>Simran</td>
			<td>Bank Manager</td>
			<td>0073002220</td>
  </tr>
  </table>
  <h4>Cell Background:</h4>
<table border="1">
 <tr> 
            <th bgcolor="red">Name</th> 
			<th>Job Title</th>
			<th>Phone No.</th>
  </tr>
  <tr> 
            <td>Simran</td>
			<td>Bank Manager</td>
			<td>0073002220</td>
  </tr>
  </table>
</body>
</html>

OUTPUT

(Visited 60 times, 1 visits today)
Share with Friends :

Leave a Reply

Your email address will not be published. Required fields are marked *