<!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" >
<html>
<body > <!--背景颜色-->
<fieldset> <!--域--->
<legend >诗集</legend>
<h1 align="center">送友人</h1> <!---居中--->
<p align="center">
青山横北郭, 白水绕东城。
</p>
<div style="color:#ff9090"> <!--div应用--->
<p align="center">
此地一为别 ,孤蓬万里征。
</p>
</div>
<p align="center">
浮云游子意 ,落日古人情。
</p>
<p align="center">
挥手自兹去 ,萧萧班马鸣。
</p>
</fieldset>
</body>
</html>
<html>
<body>
<h1 align="left">l love someone</h1>
<h2 align="center">l hate somebody</h2>
<p>
to dears<br/><hr/>to mather<br/><hr/>to father<br/><hr/>to me <!--hr用于水平线--> <!--br/用于没有结束标签--->
</p>
</body>
</html>
<html>
<body>
<b>this is a cup of tea</b>
<br/>
<strong>that is a cat</strong> <!---文本格式化--->
<br/>
<big>this is a big </big>
<br/>
this text contains
<sub>subscript</sub>
<br/>
</body>
</html>
<html>
<body>
<p>小孩子<del>小女孩</del>男孩<ins>漂亮的美丽的洋娃娃</ins>大家都喜欢。</p> <!---[del]删除字和[ins]插入字的效果--->
</body>
</html>
<html>
<body>
<h2>廖记棒棒鸡地址</h2>
<adress>
<a href="mailto:sherry.h.wang@qq.com">廖记邮箱</a><br/>
成都<br/> <!---地址和超链接---->
华阳<br/>
古城2期<br/>
</adress>
</body>
</html>
<html>
<body>
<p>
ni you click:
<a href="http://www.baidu.com">
<img border="1" src="性感.jpg"/>
</a> <!--把图片作为一个链接--->
</p>
</body>
</html>
<html>
<body>
<p>
<a href="#c4">查看chapter4。</a>
</p>
<h2>chapter1</h2>
<p>this chapter explains ba bla bla </p>
<h2>chapter2</h2>
<p>this chapter explains ba bla bla</p>
</body>
</html>
<html>
<body >
<p>还在为2手品困惑吗?</p>
<a href="http://www.ganji.com">请点击这里,这里为你打开了一扇窗!</a>
</body>
</html>
<table> <!--table定义表格-->
<tr> <!---tr定义表格的行--->
<th>heading</th> <!--th定义表格的表头--->
<th>another heading</th>
</tr>
<tr>
<td>row 1,cell 1</td> <!---td定义表格的单元格--->
<td>row 1,cell 2</td>
</tr>
<tr>
<td>row 2,cell 1</td>
<td>row 2 ,cell 2 </td>
</tr>
</table>
<ul>
<li>l love the city</li> <!--无序列表-->
</ul>
<ol>
<li>it is a cat</li>
<li>it is a apple</li> <!--有序列表-->
</ol>
<body>
<h1>news website</h1>
<p>some text,some body</p>
<div class="news">
<h2>news hesdline 1 </h2>
<p>some text,some text </p>
</div>
<div class="news">
<h2>news headline 2</h2> <!--div是一个块级元素--->
<p>some text ,some text</p>
</div>
</body>
<html>
<frameset rows="50%,50%">
<frame src="http://www.baidu.com">
<frameset cols="25%,75%">
<frame src ="HTMLPage1.htm">
<frame src="HTMLPage3.htm"> <!--框架比例,不能将frameset与body同时应用-->
</frameset>
</frameset>
</html>