Edit in JSFiddle

<table border="1">
    <tr><td>jQuery</td><td>Amazing</td></tr>
    <tr><td>CSS</td><td>Beautiful</td></tr>
    <tr><td>MVC3</td><td>Creative</td></tr>
    <tr><td>CSS3</td><td>Wonderful</td></tr>
</table>
tr:nth-child(even)
{
color:red;
}
tr:nth-child(odd)
{
color:green;
}