1.塊級標(biāo)簽(獨(dú)占一行)
H系列標(biāo)簽,p標(biāo)簽,div標(biāo)簽
2.行內(nèi)標(biāo)簽
span標(biāo)簽
3.form標(biāo)簽
創(chuàng)新互聯(lián)公司主營農(nóng)安網(wǎng)站建設(shè)的網(wǎng)絡(luò)公司,主營網(wǎng)站建設(shè)方案,app開發(fā)定制,農(nóng)安h5微信平臺(tái)小程序開發(fā)搭建,農(nóng)安網(wǎng)站營銷推廣歡迎農(nóng)安等地區(qū)企業(yè)咨詢
<form action="表單提交數(shù)據(jù)的地址" method=“GET/POST”></form>
3.1文本輸入框
<input type="text" />
3.2密碼輸入框
<input type="password" />
3.3按鈕
<input type="button" value=“按鈕” />
3.4提交
<input type="submit" value="提交"/>
3.5單選
<input type="radio" name="radio1" value="radio1" checked="checked"/>
<input type="radio" name="radio1" value="radio2"/>
3.6多選
<input type="checkbox" name="checkbox1" value="checkbox1"/>
<input type="checkbox" name="checkbox1" value="checkbox2"/>
3.7上傳
<input type="file" name="filename"/>
需要指定<form enctype="multipart/form-data">
3.8重置
<input type="reset" value="重置" />
3.9多行文本框
<textarea name="moretext"></textarea>
3.10.1下拉框
<select name="select_test" >
size="1"#控制顯示長度
multiple="multiple"#控制是否多選
<option value="1" >1</option>
<option value="2" >2</option>
<option value="3" >3</option>
</select>
3.10.2select分組
<select name="select_test" >
<optgroup label="1">
<option value="1" >1.1</option>
<option value="2" >1.2</option>
<option value="3" >1.3</option>
</optgroup>
<optgroup label="2">
<option value="1" >2.1</option>
<option value="2" >2.2</option>
<option value="3" >2.3</option>
</optgroup>
</select>
4.a標(biāo)簽用法
target=""
4.1鏈接
<a >baidu</a>
4.2錨點(diǎn)
<a href="#t1">1</a>
<a href="#t2">2</a>
<a href="#t3">3</a>
<div id="#1">1</div>
<div id="#2">2</div>
<div id="#3">3</div>
5.img圖片
<img src="路徑" alt=“圖片” title="圖片"/>
6.ul無序列表
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
</ul>
7.ol有序列表
<ol>
<li>1</li>
<li>2</li>
<li>3</li>
</ol>
8.dl
<dl>
<dt>標(biāo)題</dt>
<dd>1</dd>
<dd>2</dd>
<dd>3</dd>
</dl>
9.table
<table>
<thead>
<tr>
<td>1</td><td>1</td>
</tr>
</thead>
<tbody>
<tr>
<td>1.1</td><td>1.2</td>
</tr>
<tr>
<td>2.1</td><td>2.2</td>
</tr>
</tbody>
</table>
合并單元格
<td colspan="2"></td> #橫向合并
<td rowspan="2"></td>#縱向合并
10.label標(biāo)簽
關(guān)聯(lián)輸入框
<label for="username">用戶名:</label>
<input id="username" type="text" name="username" />
網(wǎng)站標(biāo)題:html基礎(chǔ)--body內(nèi)部標(biāo)簽
文章路徑:http://www.rwnh.cn/article22/jsdpcc.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站營銷、網(wǎng)頁設(shè)計(jì)公司、移動(dòng)網(wǎng)站建設(shè)、做網(wǎng)站、商城網(wǎng)站、品牌網(wǎng)站建設(shè)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)