茄子在线看片免费人成视频,午夜福利精品a在线观看,国产高清自产拍在线观看,久久综合久久狠狠综合

    <s id="ddbnn"></s>
  • <sub id="ddbnn"><ol id="ddbnn"></ol></sub>

  • <legend id="ddbnn"></legend><s id="ddbnn"></s>

    HTML非常用標(biāo)簽 optgroup、sub、sup和bdo示例代碼
    來源:易賢網(wǎng) 閱讀:1133 次 日期:2016-06-22 14:14:36
    溫馨提示:易賢網(wǎng)小編為您整理了“HTML非常用標(biāo)簽 optgroup、sub、sup和bdo示例代碼”,方便廣大網(wǎng)友查閱!

    HTML標(biāo)簽之optgroup、sub、sup和bdo的用法與示例代碼,需要的朋友可以參考下。

    optgroup 用在select 標(biāo)記中 可以使下拉列表內(nèi)容更加有條理 

    代碼如下:

    <select>

    <optgroup label="aaa">

    <option>分清是非</option>

    <option>分清是非</option>

    <option>分清是非</option>

    </optgroup>

    <optgroup style="color:#C30" label="bbb">

    <option>分清是非</option>

    <option>分清是非</option>

    <option>分清<br/>是非</option>

    </optgroup>

    </select>

    sub 上標(biāo) 

    sup 下標(biāo) 可與<em>一起用于注釋 

    dbo dir 標(biāo)記一起使用,可以改變文字的輸出方向,右->左 

    代碼如下:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

    <title>4個(gè)不常用HTML標(biāo)簽optgroup、sub、sup和bdo。</title>

    <style type="text/css">

    fieldset{width:300px;padding:5px 5px;  margin:30px auto; display:block; line-height:125%; font-size:15px;}

    legend{margin-left:15px; font-size:18px; color:red; }

    bdo{color:red;}

    </style>

    </head>

    <body>

    <fieldset><legend>optgroup</legend>

    <select>

    <optgroup label="HTML標(biāo)記">

    <option>table</option>

    <option>tr</option>

    <option>td</option>

    <option>th</option>

    </optgroup>

    <optgroup label="ASP內(nèi)置對(duì)象">

    <option>cookies</option>

    <option>session</option>

    <option>application</option>

    <option>redirect</option>

    </optgroup>

    </select>

    <select>

    <optgroup label="">

    <option>....</option>

    </optgroup> 

    </select>

    </fieldset>

    <fieldset class="sub">

    <legend>sub標(biāo)記</legend>

    X<sub>2</sub> 上標(biāo) X<sub>2</sub>

    X<sup>2</sup> 下標(biāo) X<sup>2</sup>

    <hr />

    與<em>標(biāo)簽結(jié)合可以用于注釋,例:

    flying<sub><em>注:HTML XHTML網(wǎng)頁(yè)編碼 版主</em></sub>

    </fieldset>

    <fieldset><legend>bdo標(biāo)記</legend>

    <bdo dir="ltr">我非常愛你</bdo>

    <bdo dir="rtl">你愛常非我</bdo>

    輸出結(jié)果為  

    <bdo dir="ltr">我非常愛你</bdo>

    <bdo dir="rtl">你愛常非我</bdo>

    注:使用bod標(biāo)簽時(shí)必須連用dir標(biāo)簽屬性,ltr指從左到右的編排順序,rtl指從右到左的編排順序。

    </p>

    </p>

    </fieldset>

    </body>

    </html>

    提示:您可以先修改部分代碼再運(yùn)行

    更多信息請(qǐng)查看網(wǎng)頁(yè)制作
    易賢網(wǎng)手機(jī)網(wǎng)站地址:HTML非常用標(biāo)簽 optgroup、sub、sup和bdo示例代碼
    由于各方面情況的不斷調(diào)整與變化,易賢網(wǎng)提供的所有考試信息和咨詢回復(fù)僅供參考,敬請(qǐng)考生以權(quán)威部門公布的正式信息和咨詢?yōu)闇?zhǔn)!
    相關(guān)閱讀網(wǎng)頁(yè)制作

    2026國(guó)考·省考課程試聽報(bào)名

    • 報(bào)班類型
    • 姓名
    • 手機(jī)號(hào)
    • 驗(yàn)證碼
    關(guān)于我們 | 聯(lián)系我們 | 人才招聘 | 網(wǎng)站聲明 | 網(wǎng)站幫助 | 非正式的簡(jiǎn)要咨詢 | 簡(jiǎn)要咨詢須知 | 新媒體/短視頻平臺(tái) | 手機(jī)站點(diǎn) | 投訴建議
    工業(yè)和信息化部備案號(hào):滇ICP備2023014141號(hào)-1 云南省教育廳備案號(hào):云教ICP備0901021 滇公網(wǎng)安備53010202001879號(hào) 人力資源服務(wù)許可證:(云)人服證字(2023)第0102001523號(hào)
    云南網(wǎng)警備案專用圖標(biāo)
    聯(lián)系電話:0871-65099533/13759567129 獲取招聘考試信息及咨詢關(guān)注公眾號(hào):hfpxwx
    咨詢QQ:1093837350(9:00—18:00)版權(quán)所有:易賢網(wǎng)
    云南網(wǎng)警報(bào)警專用圖標(biāo)