CSS code:<h4>Test Create Table with Css</h4>
<div class=â€tableâ€>
<ul>
<li class=â€titleâ€>Rank</li>
<li class=â€evenâ€>1</li>
<li class=â€oddâ€>2</li>
<li class=â€evenâ€>3</li>
<li class=â€oddâ€>4</li>
<li class=â€evenâ€>5</li>
</ul>
<ul>
<li class=â€titleâ€>Team</li>
<li class=â€evenâ€>Australia</li>
<li class=â€oddâ€>South Africa</li>
<li class=â€evenâ€>India</li>
<li class=â€oddâ€>Srilanka</li>
<li class=â€evenâ€>Pakistan</li>
</ul>
<ul>
<li class=â€titleâ€> Points</li>
<li class=â€evenâ€>5361</li>
<li class=â€oddâ€>5360</li>
<li class=â€evenâ€>5498</li>
<li class=â€oddâ€>3680</li>
<li class=â€evenâ€>2197</li>
</ul>
<ul>
<li class=â€titleâ€>Rating</li>
<li class=â€evenâ€>128</li>
<li class=â€oddâ€>119</li>
<li class=â€evenâ€>117</li>
<li class=â€oddâ€>108</li>
<li class=â€evenâ€>100</li>
</ul>
</div>
<style type=â€text/cssâ€>
.table{
background:#333;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
}
.table ul{
float:left;
margin:0;
padding:0;
border:1px solid #C9C9C9;
}
.table ul li{
list-style:none;
padding:5px 10px;
}
.table ul li.title{
font-weight:bold;
background:#333;
color:#fff;
}
.table ul li.even{
background:#fff
}
.table ul li.odd{
background:#D7EDFB
}
h1{font-size:16px;
color:#227786;
}
</style>
<table>
<tr>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Alfreds Futterkiste</td>
<td>Maria Anders</td>
<td>Germany</td>
</tr>
<tr>
<td>Centro comercial Moctezuma</td>
<td>Francisco Chang</td>
<td>Mexico</td>
</tr>
</table>