This is a test page to show you how different tags effect your HTML
document.
以下將簡介HTML的Tags及其呈現出來的效果.
下面就從與文字控制有關的Tags開始.
Back to Table of Contents
Back to Table of Contents
<CITE> This is citation </CITE>
<B> This is Bold Texts </B>
<I>This is Italic Texts</I>
<EM>This is Emphasis Texts</EM>
<STRONG>This is Strong Texts</STRONG>
<KBD>This is Keyboard Input</KBD>
<VAR>This is Variable</VAR>
<CODE>This is for program codes</CODE>
<TT>This is TypeWriter</TT>
<SAMP>This is Sample Text</SAMP>
Back to Table of Contents
接下來是有關listing的部份:
<OL>
<UL>
<DL>
<DT>西瓜
<DD>有紅的跟黃的兩種
<DD>也有無子西瓜!
<DT>香蕉
<DD>芭蕉也算是其中之一
<DT>蓮霧
<DD>黑珍珠那種很好吃!
</DL>>
<DIR>
<LI>西瓜
<LI>香蕉
<LI>蓮霧
</DIR>>
<MENU>
<LI>西瓜
<LI>香蕉
<LI>蓮霧
</MENU>>
Back to Table of Contents
<P>這個Tag是用來標示一段文字.所以應該把這個Tag放在一段文字的前面 表示其後所接的是一段文字.
<P>這個是第二段文字.
<PRE>
這個Tag所標示的文字通常是已經有固定格式的文字.
例如:
在<PRE>這Tag之內, 你的文字可以
亂跳
或任意擺放
而在<PRE>這個Tag裡面的文字中,有些事要注意:
<UL>
<LI>文中的Line Break在瀏覽器下表現成移動到下一行的開始
<LI>Anchor還有一些文字的標示可以在文中使用.
<LI>那些定義段落格式的標示(像標題,address等)都不應該使用!
</UL>
</PRE>
這個Tag所標示的文字通常是已經有固定格式的文字.
例如:
在<PRE>這Tag之內, 你的文字可以
亂跳
或任意擺放
而在<PRE>這個Tag裡面的文字中,有些事要注意:
<BLOCKQUOTE>
<p>這個Tag所標示的是由其他來源所引入的文字.</BLOCKQUOTE>
Back to Table of Contents
<table border>
<caption>一張表</caption>
<tr><th>標題<th>標題<th>標題
<tr><td>資料<td>資料<td>資料
<tr><td>資料<td>資料<td>資料
</table>
| 標題 | 標題 | 標題 |
|---|---|---|
| 資料 | 資料 | 資料 |
| 資料 | 資料 | 資料 |
<table border> <caption>比較複雜的表</caption> <tr><th rowspan=2 colspan=2>標題<th colspan=2>標題<th rowspan=3>標題 <tr><td>資料<td>資料 <tr><td>資料<td>資料<td>資料<td>資料 <tr><td>資料<td>資料<td>資料<td>資料<td>資料 <tr><td>資料<td>資料<th rowspan=2 colspan=2>標題<td>資料 <tr><td>資料<td>資料<td>資料 <tr><td>資料<td>資料<td>資料<td>資料<td>資料 </table>
| 標題 | 標題 | 標題 | ||
|---|---|---|---|---|
| 資料 | 資料 | |||
| 資料 | 資料 | 資料 | 資料 | |
| 資料 | 資料 | 資料 | 資料 | 資料 |
| 資料 | 資料 | 標題 | 資料 | |
| 資料 | 資料 | 資料 | ||
| 資料 | 資料 | 資料 | 資料 | 資料 |
Back to Table of Contents
<FORM METHOD="POST" ACTION="http://test.test/test">
Back to Table of Contents
<img src="../big5.gif" alt="Chinese BIG-5 doc" align="bottom">
這是中文文件
這是中文文件
Back to Table of Contents
default /~chenym/test/test4.html rect (52,125) (300,249) /~chenym/test/test1.html circ (313,290) 80 /~chenym/test/test2.html poly (337,112) (340,180) (421,282) (542,291) (587,190) (504,126) (360,154) /~chenym/test/test3.html
<a href="/cgi-bin/htimage/~chenym/test.conf">
<img src="/~chenym/test.gif" ismap>
</a>
Back to Table of Contents
<<
>>
&&
Back to Table of Contents