使用jquery则只须要jquery
$(function(){ $('#tbStu tr:nth-child(even)').addClass('trOdd'); })spa
复习 table表格blog
可选属性 border 规定表格边框的宽度io
cellpadding 规定单元边沿与其内容之间的空白table
cellspaceing 规定单元格之间的空白function