经典论坛 » WEB标准化专栏 » 这种格式怎样才能符合语义呢?
中级会员
专长 前端制作,JS,AS
查看详细资料
TOP
小鱼的理想
高级会员
专长 网页设计,平面,前端制作
初级会员
专长 网页设计,UI,前端制作
查看个人网站
专长 网页设计,前端制作,AS
小盆友
专长 网页设计,JS,PHP
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>none</title> <style type="text/css" media="screen"> * {margin:0;padding:0;} body {font-family:Verdana, Arial, Helvetica, sans-serif;font-size:small;} ul {list-style-type:none;} #child_board_chinese_video {position:relative;width:300px;height:300px;background-color:#EFEFEF;} img.child_board_vision {height:30px;position:absolute;left:0;top:0;} h3.child_board_head_title {text-align:center;line-height:30px;position:relative;color:#FF0000;font-size:18px;} span.more {position:absolute;right:0;top:0;} span>a {text-decoration:none;color:#FF0033;font-weight:normal;font-size:12px;} table.child_board_body {width:300px;border-collapse:collapse;} .child_board_body_sort {width:40px;height:20px;} .child_board_body_name {height:20px;width:auto;border-left:1px solid #999999;} th {background-color:#FFCC66;} tr.child_board_body_piece_odd>td {background-color:#FFFFCC;} table>tbody>tr {text-align:left;} table>tbody>tr>td.child_board_body_sort {text-align:center;} </style> <script type="text/javascript"> </script> </head> <body> <div id="child_board_chinese_video"> <img class="child_board_vision" src="http://www.baidu.com/img/logo.gif" /> <div class="child_board_head"> <h3 class="child_board_head_title">十一期<span class="more"><a href="javascript:void(0)">more...</a></span></h3> </div> <table class="child_board_body"> <thead> <tr> <th class="child_board_body_sort">排名</th><th class="child_board_body_name">名称</th> </tr> </thead> <tbody> <tr class="child_board_body_piece_odd"> <td class="child_board_body_sort">1</td><td class="child_board_body_name">这一部分不知怎么做好</td> </tr> <tr> <td class="child_board_body_sort">2</td><td class="child_board_body_name">是UL好,还是DL好呢?</td> </tr> <tr class="child_board_body_piece_odd"> <td class="child_board_body_sort">3</td><td class="child_board_body_name">要怎样才能方便还符合语义</td> </tr> </tbody> </table> </div> </body> </html>
漂亮的疯子
专长 网页设计,前端制作,UE
程让
金牌会员
新手上路