<!--连接可以是完全的或者是相对的,完全的指:http://www.news.sohu.com,相对连接指在同一个目录
或子目录中定位,子目录通过“/"符合和子目录来确定,还能够在当前目录上使用两点和"/"来确定目录
-->
<a href="http://www.news.sohu.com">http://www.news.sohu.com</a>
<a href="edu.html">edu.html</a>
<a href="../car.html">../car.html</a>
<a href="mailto:dudu@126.com?subject=Hello from web&body=email dudu">email dudu</a>
<a href="file://e:|img/img/fans/0107_1024[1].jpg">img</a>
<a href="ftp://ftp.dudu.com">dudu ftp</a>
<!--名称连接,由于被struts控制,在次无效-->
<a href="#a">a</a>
<a href="#b">b</a>
<a href="#c">c</a>
<a name="a"/>autobiographically
<a name="b"/>bacteriologically
<a name="c"/>characteristically
</pre>
<!--改变文字尺寸-->
<pre>
<!--basefont设置默认的字体尺寸、颜色和网页面貌-->
<font color="red">font example</font>
<basefont size="2" color="blue" face="arial"/>
<font size="+2" color="orange">H</font><font size="-2">a</font><font size="2">i</font><br>
<font face="Arial">Arial font</font>
<font face="Book Antiqua">Book Antiqua font</font>
<font face="Bookman old Style>Bookman ole Sytlefont</font>
<font face="Century">Century</font>
<font face="schoolbook">schoolbook font</font>
<font face="Courier">Courier</font>
<font face="New Garamond">New Garamond font</font>
<font face="Times New Roman">Times New Roman</font>
<font face="Verdana">Verdana</font>
<b>blank</b>
<i>line</i>
<u>under line</u>
<strike>middle line 1</strike>
<s>middle line 2</s>
a<sub>2</sub>
h<sup>3</sup>
<tt>typist font</tt>
<em>emphasize<em>
<strong>emphasize<strong>
<blockquote>blockquote</blockquote>
<acronym>acronym</acronym>
<cite>cite</cite>
<address>address</address>
<ins cite="aa.html" datetime="2005-8-16T14:20:00MST">inserted text</ins>
<del>delete text</del>
<big>big font</big>
<p>
<small>small font</small>
<!-- 一个网页中必须包含body标记,但如果一个网页被分为多个帧的话,将不使用body标记,而换为frameset标记-->
<!--若浏览器遇到几个连续的空格,它会删除其他空格而只保留一个空格,可以使用pre标记保持所有的空格-->
<pre>
tag pre example
It is easy
but like anything ,
<p>
you need to work on it.
</pre>
<!--添加标题-->
caption example
<h1 align="center">big</h1>
<h2 align="left">bigger</h2>
<h3 align="middle">bigest</h3>
<h4 align="right">small</h4>
<h5 aling="justify">smaller</h5>
<h6>smallest</h6>
<!--使用水平分割线划分段落,noshade:不会掩盖文段格式-->
line example
let me try it on<hr align="center" width="50">
<hr noshade/>
<hr size="5%" width="10%" align="center">
<hr size="5" width="10" align="center">
sign code
<code>#include <stdio.h><br>
<var>int a</var>
main()
{
printf("enter number!");
}
</code>
<kbd>s</kbd>
<samp>n=123</samp>
</pre>