標籤:
1.HTML 文檔結構
1.1 <html>,<head>,<title>,<body>標記,注意:html不區分大寫小的
1.2 </br> 換行標記
<p></p> 段落標記
<h1></h1> 標題標記
<center></center> 置中標記
1.3 無序列表
<ul> <li>unlist1 </li> <li>unlist2 </li></ul>
1.4 有序列表
<ol> <li>olist1</li> <li>olist2</li></ol>
- olist1
- olist2
1.5 表格標記
<table width="318" height="167" border="1" align="center">
<caption>caption</caption>
<th>
<td>00</td>
<td>00</td>
</th>
<tr>
<td align="center" valign="middle">11</td>
<td align="center" valign="middle">12</td>
</tr>
<tr>
<td align="center" valign="middle">21<td>
<td align="center" valign="middle">22<td>
</tr>
<talbe>
0000
1.6表單
<form action="" method="post" enctype="multipart/form-data" name="form1"> 文本域:<input type="text" name="user" id="user" size="39" maxlength="39"></br> 密碼域:<input type="password" name="password" id="password" size="40" maxlength="40"></br> 選項按鈕:<input type="radio" name="sex" value="man" checked>男 <input type="radio" name="sex" value="woman" > 女 </br> 複選框:<input type="checkbox" name="checkbox" value="1" checked>1 <input type="checkbox" name="checkbox" value="2">2 </br> 檔案域:<input type="file" name="file"></br> 提交按鈕:<input type="submit" name="submit" value="提交"> </br> 重設按鈕:<input type="reset" name="reset" value="重設"> </br> 普通按鈕:<input type="button" name="button" value="按鈕"> </br> 圖形域:<input type="image" name="imagefield" src="" width="111" height="111"></form>
html常用標記