简单有序无序列表编程和初步表格制作(上图)
<!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" xml:lang="zh-cn"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <title>网页标题</title> <meta name="keywords" content="关键字列表" /> <meta name="description" content="网页描述" /> <link rel="stylesheet" type="text/css" href="" /> <style type="text/css"></style> <script type="text/javascript"></script> </head> <body> <table border="2" width="500" height="300"> <tr bgcolor="#ff8000" > <th>姓名</th> <th>年龄</th> <th>性别</th> <th>地址</th> <th>学号</th> </tr> <tr align="right"> <td>张三</td> <td>25</td> <td>女</td> <td>贵州</td> <td>1001</td> </tr> <tr> <td>李四</td> <td>23</td> <td>男</td> <td>福建</td> <td>1002</td> </tr> <tr> <td>王五</td> <td>30</td> <td>男</td> <td>湖南</td> <td>1003</td> </tr> <tr> <td>赵六</td> <td>29</td> <td>女</td> <td>广州</td> <td>1004</td> </tr> </table> </body> </html>
<!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" xml:lang="zh-cn"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <title>网页标题</title> <meta name="keywords" content="关键字列表" /> <meta name="description" content="网页描述" /> <link rel="stylesheet" type="text/css" href="" /> <style type="text/css"></style> <script type="text/javascript"></script> </head> <body> <h2 >无序列表</h2> <ul type="square"> <li><u>水果</u></li> <li><font color="#ffff66" size="10"><b>橘子</b></font></li> <li>苹果</li> <li type="circle"><font color="#0000ff">猕猴桃</font></li> <li>香蕉</li> <li>西瓜</li> <li>橙子</li> </ul> <h2>有序列表</h2> <ol type="a" start="3" > <li>姓名</li> <li>李四</li> <li>王吴</li> <li>赵六</li> <li>香蕉</li> <li>西瓜</li> <li>橙子</li> </ol> </body></html>