<html>
<head>
<Title>Table Assignment</Title>
<style type="text/css">
body {
background-color: #728FCE;
text-align: center;
}
h1 {
text-align: center;
text-decoration: underline;
text-transform: uppercase;
color:white;}
tr{background-color: #ADA96E}
th{background-color: #A0CFEC
color:#254117;}
.mouseout { background-color:#ADA96E }
.mouseover { background-color:#F62817 }
</style>
</head>
<Body>
<form id="form1">
<h1>Select the Column</h1>
<table border="1" align="center">
<tr style="background:#95B9C7">
<th>S.No.</th>
<th>First Name</th>
<th>Last Name</th>
<th>Department</th>
<th>Salary</th>
</tr>
<tr onMouseOver="this.className='mouseover'" onMouseOut="this.className='mouseout'">
<td>1</td>
<td>Ram</td>
<td>Kumar</td>
<td>IT</td>
<td>15000</td>
</tr>
<tr onMouseOver="this.className='mouseover'" onMouseOut="this.className='mouseout'">
<td>1</td>
<td>Ram</td>
<td>Kumar</td>
<td>IT</td>
<td>15000</td>
</tr>
<tr onMouseOver="this.className='mouseover'" onMouseOut="this.className='mouseout'">
<td>1</td>
<td>Ram</td>
<td>Kumar</td>
<td>IT</td>
<td>15000</td>
</tr>
<tr onMouseOver="this.className='mouseover'" onMouseOut="this.className='mouseout'">
<td>1</td>
<td>Ram</td>
<td>Kumar</td>
<td>IT</td>
<td>15000</td>
</tr>
<tr onMouseOver="this.className='mouseover'" onMouseOut="this.className='mouseout'">
<td>1</td>
<td>Ram</td>
<td>Kumar</td>
<td>IT</td>
<td>15000</td>
</tr>
<tr onMouseOver="this.className='mouseover'" onMouseOut="this.className='mouseout'">
<td>2</td>
<td>Ajay</td>
<td>Yadav</td>
<td>Accountancy</td>
<td>25000</td>
</tr>
</table>
</form>
</body>
</html>
<head>
<Title>Table Assignment</Title>
<style type="text/css">
body {
background-color: #728FCE;
text-align: center;
}
h1 {
text-align: center;
text-decoration: underline;
text-transform: uppercase;
color:white;}
tr{background-color: #ADA96E}
th{background-color: #A0CFEC
color:#254117;}
.mouseout { background-color:#ADA96E }
.mouseover { background-color:#F62817 }
</style>
</head>
<Body>
<form id="form1">
<h1>Select the Column</h1>
<table border="1" align="center">
<tr style="background:#95B9C7">
<th>S.No.</th>
<th>First Name</th>
<th>Last Name</th>
<th>Department</th>
<th>Salary</th>
</tr>
<tr onMouseOver="this.className='mouseover'" onMouseOut="this.className='mouseout'">
<td>1</td>
<td>Ram</td>
<td>Kumar</td>
<td>IT</td>
<td>15000</td>
</tr>
<tr onMouseOver="this.className='mouseover'" onMouseOut="this.className='mouseout'">
<td>1</td>
<td>Ram</td>
<td>Kumar</td>
<td>IT</td>
<td>15000</td>
</tr>
<tr onMouseOver="this.className='mouseover'" onMouseOut="this.className='mouseout'">
<td>1</td>
<td>Ram</td>
<td>Kumar</td>
<td>IT</td>
<td>15000</td>
</tr>
<tr onMouseOver="this.className='mouseover'" onMouseOut="this.className='mouseout'">
<td>1</td>
<td>Ram</td>
<td>Kumar</td>
<td>IT</td>
<td>15000</td>
</tr>
<tr onMouseOver="this.className='mouseover'" onMouseOut="this.className='mouseout'">
<td>1</td>
<td>Ram</td>
<td>Kumar</td>
<td>IT</td>
<td>15000</td>
</tr>
<tr onMouseOver="this.className='mouseover'" onMouseOut="this.className='mouseout'">
<td>2</td>
<td>Ajay</td>
<td>Yadav</td>
<td>Accountancy</td>
<td>25000</td>
</tr>
</table>
</form>
</body>
</html>
No comments:
Post a Comment