<!DOCTYPE html> <html lang="ja-JP"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,user-scalable=yes,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.5"> <title></title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script> $(function(){ $("table td:first-of-type").css("background-color","#FF0000"); }); </script> </head> <body> <table border="1"> <tr> <th rowspan="4">th要素</th><td>td要素</td><td>td要素</td><td>td要素</td> </tr> <tr> <td>td要素</td><td>td要素</td><td>td要素</td> </tr> <tr> <td>td要素</td><td>td要素</td><td>td要素</td> </tr> <tr> <td>td要素</td><td>td要素</td><td>td要素</td> </tr> </table> </body> </html>