<html>
<head><title>標題</title></head>
<body>這裏是主體內容</body>
</html>
表格使用:
<html>
<head><title>主題</title></head>
<body>
<table border="1">表格
<tr>
<th>姓名</th>
<th>成績</th>
</tr>
<tr>
<td>菜菜</td>
<td>98</td>
</tr>
</table>
</body>
</html>
文本框輸入:
<html>
<head><title>文本框輸入</title></head>
<body>
請輸入信息:
<input type="text" ></input><p>
密 碼:<input type="password"></input><p>
<input type="radio" name="sex" value="1">男</input>
<input type="radio" name="sex" value="0">女</input><p>
<input type="reset" value="重置"> </input>
<input type="submit" value="提交" align="center"></input><p>
</body>
</html>
下拉列表框:
<select size="1">
<option value="junior">初中</option>
<option value="senior">高中</option>
<option value="university">大學</option>
</select>
多文本框輸入:
<textarea rows="4" clos="30" >
</textarea>
列表顯示:
<ol type="a"/"A"/"I">
<li>內容
<li>內容
</ol>
項目符號:
<ul type="disc"/"square"/"circle">
<li>內容
<li>內容
</ul>
無符號列表:
<dl>
<dt>內容
<dt>內容
</dl>
縮進列表:
<dl>
<dd>內容
<dd>內容
</dl>
換行 <br>
段落 <p>
水平線<hr>