JavaScript批量创建标签,并能同时使用jquery设置字体样式,背景样式。可以根据索引值实现独立事件。
$('选择器').css('color','red').css('background-color','#eee')