久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      html5中常用的分組元素是什么

      html5中常用的分組元素:1、p元素,進(jìn)行段落分組;2、div元素,進(jìn)行通用分組;3、blockquote元素;4、pre元素;5、hr元素;6、ul、ol、li元素;7、dl、dt、dd元素;8、figure和figcaption元素。

      html5中常用的分組元素是什么

      本教程操作環(huán)境:windows7系統(tǒng)、HTML5版、Dell G3電腦。

      HTML5常用分組元素匯總

      html5中常用的分組元素是什么
      html5中常用的分組元素是什么

      HTML5分組元素解析

      1 、< p > 建立段落

      2、< div >通用分組

      由于div自身不帶有任何意義,在HTML5強(qiáng)烈要求語(yǔ)義化的大背景下,div作為一種最后的解決方案使用。

      3、< li >定義列表中的一個(gè)列表項(xiàng)

      屬性如下

      value:

      這個(gè)整數(shù)型屬性表明了本 < li > 元素在有序列表 (由 < ol > 元素定義)中的序號(hào)。本屬性值只能用數(shù)字,即使列表使用羅馬數(shù)字或字母來展示。隨后的列表?xiàng)l目會(huì)從設(shè)置的值開始計(jì)數(shù)。value 屬性對(duì)于無序列表 (< ul >) 或者菜單 (< menu >) 無效。

      type:

      規(guī)定編號(hào)的類型。

      • ‘a(chǎn)’ 表示小寫字母編號(hào);
      • ‘A’ 表示大寫字母編號(hào);
      • ‘i’ 表示小寫羅馬數(shù)字編號(hào);
      • ‘I’ 表示大寫羅馬數(shù)字編號(hào);
      • ‘1’ 表示數(shù)字編號(hào)(默認(rèn)值)。
      <ol type="I">     <li value="3">third item</li>     <li>fourth item</li>     <li>fifth item</li> </ol>

      輸出:

      III.third item IV.fourth item V.fifth item

      < ul > < li >定義一個(gè)無序列表

      <ul>   <li>first item</li>   <li>second item</li>   <li>third item</li> </ul>

      輸出:

       - first item   - second item  - third item

      < ol > < li > 定義有序列表

      <ol>   <li>first item</li>   <li>second item</li>   <li>third item</li>< /ol>

      輸出

       - first item   - second item   - third item

      4、< dl > < dt > < dd > 生成說明列表

      • < dl > 表示一項(xiàng)內(nèi)容的集合.
      • < dt > 內(nèi)容的標(biāo)題.
      • < dd > 具體內(nèi)容
      <dl>     <dt>Name</dt>         	<dd>Godzilla</dd>     <dt>Born</dt>     	<dd>1952</dd>     <dt>Birthplace</dt>     	<dd>Japan</dd>     <dt>Color</dt>     	<dd>Green</dd> </dl>

      輸出

      Name 	    Godzilla Born 	    1952 Birthplace 		Japan Color 	    Green

      5、figure、figcaption

      • figure 代表一段獨(dú)立的內(nèi)容,展示引用的圖片,插圖,表格,代碼段等等。
      • figcaption 代表圖例的說明
      <figure>     <img src="/media/examples/elephant-660-480.jpg"          alt="Elephant at sunset">     <figcaption>An elephant at sunset</figcaption> </figure>

      6、main

      每張頁(yè)面只能有一個(gè)main元素,他表示這張頁(yè)面的主題。

      <main>     <article>         <h1>自行車越野</h1>         <p>自行車越野三生三世</p>     </article> </main> <article>     <h1>經(jīng)濟(jì)損失</h1>     <p>在野外攀爬天然生成的巖壁。。。</p> </article>

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)