标签:html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>列表相关标签</title> </head> <body> <ul> <li>这里是无序列表1</li> <li>这里是无序列表2</li> <li>这里是无序列表3</li> </ul> <ol start="3" type="A"> <li>这里是有序列表1</li> <li>这里是有序列表2</li> <li>这里是有序列表3</li> </ol> <dl> <dt>这里是标题1</dt> <dd>这里是内容1</dd> <dd>这里是内容2</dd> <dt>这里是标题2</dt> <dd>这里是内容3</dd> <dd>这里是内容4</dd> </dl> </body> </html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>图像相关标签</title> </head> <body> <img alt="Nightwish..." src="img/nightWish.jpg"> <a href="http://wwww.baidu.com"> <img alt="Nightwish..." src="img/nightWish.jpg"> </a> </body> </html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>表格相关标签</title> </head> <body> <table border="0"> <caption>表格1</caption> <tr> <th>乐队</th> <th>国家</th> </tr> <tr> <td>LinkinPark...</td> <td>美国</td> </tr> <tr> <td>NightWish...</td> <td>芬兰</td> </tr> </table> <table border="1" align="center" width="500"> <caption>表格2</caption> <tr> <td rowspan="2">跨2行的单元格</td> <td title="这里是提示">普通的单元格1</td> <td>普通的单元格2</td> </tr> <tr> <td colspan="2">跨2列的单元格</td> </tr> </table> <table border="1" align="right" width="900"> <caption>表格3</caption> <thead> <tr> <th>乐队</th> <th>国家</th> </tr> </thead> <tfoot> <tr> <td colspan="2">这里一般用来做统计</td> </tr> </tfoot> <tbody> <tr> <td>LinkinPark...</td> <td>美国</td> </tr> <tr> <td>NightWish...</td> <td>芬兰</td> </tr> </tbody> </table> </body> </html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>框架相关标签</title> </head> <body> <iframe src="Park.html"></iframe> </body> </html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Park.html</title> </head> <body> <h1>这里是另外的一个页面</h1> <hr /> <h1>这里是另外的一个页面</h1> <hr /> <a name="linkin">这里定义了一个锚点</a> </body> </html>
标签:html
原文地址:http://blog.csdn.net/u011794238/article/details/45372703