<!DOCTYPE html>
<html>
<head>

<title>文档标题</title>
</head>
<body>
可见文本...
</body>
</html>
基本标签(Basic Tags)
<h1>最大的标题</h1>
<h2> . . . </h2>
<h3> . . . </h3>
<h4> . . . </h4>
<h5> . . . </h5>
<h6>最小的标题</h6>
<p>这是一个段落。</p>
<br> (换行)
<hr> (水平线)
<!-- 这是注释 -->
文本格式化(Formatting)
<b>粗体文本</b>
<code>打算机代码</code>
<em>强调文本</em>
<i>斜体文本</i>
<kbd>键盘输入</kbd>
<pre>预格式化文本</pre>
<small>更小的文本</small>
<strong>主要的文本</strong>
<abbr> (缩写)
<address> (联系信息)
<bdo> (笔墨方向)
<blockquote> (从另一个源引用的部分)
<cite> (事情的名称)
<del> (删除的文本)
<ins> (插入的文本)
<sub> (下标文本)
<sup> (上标文本)
链接(Links)
普通的链接: <a href=\公众http://www.example.com/\"大众>链接文本</a>
图像链接: <a href=\"大众http://www.example.com/\"大众><img src=\公众URL\"大众 alt=\"大众更换文本\公众></a>
邮件链接: <a href=\"大众mailto:webmaster@example.com\"大众>发送e-mail</a>
书签:
<a id=\"大众tips\公众>提示部分</a>
<a href=\"大众#tips\"大众>跳到提示部分</a>
图片(Images)
<img src=\"大众URL\"大众 alt=\公众更换文本\公众 height=\公众42\"大众 width=\公众42\公众>
样式/区块(Styles/Sections)
<style type=\公众text/css\"大众>
h1 {color:red;}
p {color:blue;}
</style>
<div>文档中的块级元素</div>
<span>文档中的内联元素</span>
无序列表
<ul>
<li>项目</li>
<li>项目</li>
</ul>
有序列表
<ol>
<li>第一项</li>
<li>第二项</li>
</ol>
定义列表
<dl>
<dt>项目 1</dt>
<dd>描述项目 1</dd>
<dt>项目 2</dt>
<dd>描述项目 2</dd>
</dl>
表格(Tables)
<table border=\公众1\"大众>
<tr>
<th>表格标题</th>
<th>表格标题</th>
</tr>
<tr>
<td>表格数据</td>
<td>表格数据</td>
</tr>
</table>
框架(Iframe)
<iframe src=\"大众demo_iframe.htm\"大众></iframe>
表单(Forms)
<form action=\"大众demo_form.php\"大众 method=\"大众post/get\"大众>
<input type=\"大众text\公众 name=\公众email\"大众 size=\公众40\"大众 maxlength=\"大众50\"大众>
<input type=\"大众password\"大众>
<input type=\公众checkbox\"大众 checked=\"大众checked\"大众>
<input type=\公众radio\"大众 checked=\"大众checked\公众>
<input type=\"大众submit\"大众 value=\公众Send\公众>
<input type=\"大众reset\"大众>
<input type=\"大众hidden\"大众>
<select>
<option>苹果</option>
<option selected=\公众selected\公众>喷鼻香蕉</option>
<option>樱桃</option>
</select>
<textarea name=\"大众comment\"大众 rows=\公众60\公众 cols=\公众20\公众></textarea>
</form>
实体(Entities)
< 等同于 <
> 等同于 >
© 等同于 ©