不序列表
中間
不序列表
<ul>
? ? ?<li>中間可以嵌套其他標(biāo)簽</li>
</ul>
有序列表
<ol>
? ? ?<li></li>
</ol>
自定義列表
<dl>
? ? ?<dt>文本標(biāo)題</dt>
? ? ?<dd></dd>
? ? ?<dd></dd>
表格標(biāo)簽
快捷鍵:
ctrl+{ 左縮進(jìn)
ctrl+} 右縮進(jìn)
<table>整個表格
? ? ? <thead>
? ? ? ? ? ? ? <th></th>
? ? ? </thead>
? ? ? <tbody>
? ? ? <tr>行
? ? ? ? ? <td>單元格</td>
? ? ? </tr>
? ? ?</tbody>
</table>
合并單元格
<td rowspan="2">一個單元格合并兩行</td>
<td colspan="2">一個單元格合并l列行</td>
div標(biāo)簽
塊級標(biāo)簽刁绒,占一行
span標(biāo)簽 ?行級標(biāo)簽,可以和其他行內(nèi)標(biāo)簽共享一行
//emmet語法
span{我是span標(biāo)簽$}*3
塊:p,div,ul,ol,dl,li,dt,h1-h6
行:span,strong,em,文本相關(guān)的標(biāo)簽都是行內(nèi)標(biāo)簽
表單
<form action="#">
? ? ?用戶名:<input type="text" ?value="123">
? ? ?性別:男<input ?type="radio" checked name="gender"> 女<input ?type="radio" name="gender">
? ? ?密碼框
? ? ?<input type="password">
? ? ?多選框
? ? ? <input type="checkbox">
multiple 代表:生成一個展開的下拉列表 ? ??
? ? ? <select name ="" id="" multipe="multiple">
? ? ? ? ? <option value="1" selected='true'>公歷</option>
? ? ?</select>
文本域
? ? ?<textarea clos="20" row="10">
? ? ?</textarea>
</form>
可以嵌套其他標(biāo)簽
有序列表
自定義列表
文本標(biāo)題
表格標(biāo)簽
快捷鍵:
ctrl+{ 左縮進(jìn)
ctrl+} 右縮進(jìn)
整個表格
單元格
合并單元格
一個單元格合并兩行
一個單元格合并l列行
div標(biāo)簽
塊級標(biāo)簽,占一行
span標(biāo)簽 ?行級標(biāo)簽,可以和其他行內(nèi)標(biāo)簽共享一行
//emmet語法
span{我是span標(biāo)簽$}*3
塊:p,div,ul,ol,dl,li,dt,h1-h6
行:span,strong,em,文本相關(guān)的標(biāo)簽都是行內(nèi)標(biāo)簽
表單
用戶名:
性別:男 女
密碼框
多選框
multiple 代表:生成一個展開的下拉列表
公歷
文本域