亚洲国产精品人久久,亚洲va国产日韩欧美精品色婷婷,久久久久88色偷偷,免费人成黄页在线观看国际

17站長(zhǎng)網(wǎng)

Html標(biāo)簽教程

HTML <!DOCTYPE> 聲明HTML <!--...--> 注釋標(biāo)簽HTML <bdi> 標(biāo)簽HTML <base> 標(biāo)簽HTML <b> 標(biāo)簽HTML <audio> 標(biāo)簽HTML <article> 標(biāo)簽HTML <aside> 標(biāo)簽HTML <area> 標(biāo)簽HTML <address> 標(biāo)簽HTML <abbr> 標(biāo)簽HTML <a> 標(biāo)簽HTML <cite> 標(biāo)簽HTML <canvas> 標(biāo)簽HTML <caption> 標(biāo)簽HTML <button> 標(biāo)簽HTML <br/> 標(biāo)簽HTML <body> 標(biāo)簽HTML <blockquote> 標(biāo)簽HTML <bdo> 標(biāo)簽HTML <command> 標(biāo)簽HTML <colgroup> 標(biāo)簽HTML <code> 標(biāo)簽HTML <col> 標(biāo)簽HTML <del> 標(biāo)簽HTML <details> 標(biāo)簽HTML <dd> 標(biāo)簽HTML <datalist> 標(biāo)簽HTML <em> 標(biāo)簽HTML <dt> 標(biāo)簽HTML <dl> 標(biāo)簽HTML <div> 標(biāo)簽HTML <dialog> 標(biāo)簽HTML <dfn> 標(biāo)簽HTML <header> 標(biāo)簽HTML <form> 標(biāo)簽HTML <head> 標(biāo)簽HTML <footer> 標(biāo)簽HTML <font> 標(biāo)簽HTML <figure> 標(biāo)簽HTML <figcaption> 標(biāo)簽HTML <embed> 標(biāo)簽HTML <fieldset> 標(biāo)簽HTML <kbd> 標(biāo)簽HTML <ins> 標(biāo)簽HTML <img> 標(biāo)簽HTML <input> 標(biāo)簽HTML <i> 標(biāo)簽HTML <hr> 標(biāo)簽HTML <html> 標(biāo)簽HTML <h1> - <h6> 標(biāo)簽HTML5 <hgroup>標(biāo)簽HTML <map> 標(biāo)簽HTML <link> 標(biāo)簽HTML <li> 標(biāo)簽HTML <label> 標(biāo)簽HTML <legend> 標(biāo)簽HTML <keygen> 標(biāo)簽HTML <object> 標(biāo)簽HTML <noscript> 標(biāo)簽HTML <meter> 標(biāo)簽HTML <nav> 標(biāo)簽HTML <meta> 標(biāo)簽HTML <menu> 標(biāo)簽HTML5 <mark> 標(biāo)簽HTML <option> 標(biāo)簽HTML <output> 標(biāo)簽HTML <optgroup> 標(biāo)簽HTML <ol> 標(biāo)簽HTML <rp> 標(biāo)簽HTML <rt> 標(biāo)簽HTML <q> 標(biāo)簽HTML <progress> 標(biāo)簽HTML <pre> 標(biāo)簽HTML <param> 標(biāo)簽HTML <p> 標(biāo)簽HTML <script> 標(biāo)簽HTML <samp> 標(biāo)簽HTML <s> 標(biāo)簽HTML <ruby> 標(biāo)簽HTML <style> 標(biāo)簽HTML <strong> 標(biāo)簽HTML <strike> 標(biāo)簽HTML <span> 標(biāo)簽HTML <source> 標(biāo)簽HTML <small> 標(biāo)簽HTML <select> 標(biāo)簽HTML <section> 標(biāo)簽HTML <tfoot> 標(biāo)簽HTML <th> 標(biāo)簽HTML <textarea> 標(biāo)簽HTML <td> 標(biāo)簽HTML <tbody> 標(biāo)簽HTML <table> 標(biāo)簽HTML <sup> 標(biāo)簽HTML <sub> 標(biāo)簽HTML <summary> 標(biāo)簽HTML <video> 標(biāo)簽HTML <var> 標(biāo)簽HTML <ul> 標(biāo)簽HTML <u> 標(biāo)簽HTML <tt> 標(biāo)簽HTML <track> 標(biāo)簽HTML <tr> 標(biāo)簽HTML <title> 標(biāo)簽HTML <time> 標(biāo)簽HTML <thead> 標(biāo)簽HTML <wbr> 標(biāo)簽

HTML <area> 標(biāo)簽

html <area> 標(biāo)簽定義圖像映射內(nèi)部的區(qū)域(圖像映射指的是帶有可點(diǎn)擊區(qū)域的圖像)

<area> 元素始終嵌套在 <map> 標(biāo)簽內(nèi)部

<img> 標(biāo)簽中的 usemap 屬性與 <map> 元素中的 name 相關(guān)聯(lián),以創(chuàng)建圖像與映射之間的關(guān)系

提示和注釋:

注釋:<img> 中的 usemap 屬性可引用 <map> 中的 id 或 name 屬性(由瀏覽器決定),所以我們需要同時(shí)向 <map> 添加 id 和 name 兩個(gè)屬性。

必需的屬性

屬性描述
alt
text定義此區(qū)域的替換文本。


可選的屬性

屬性描述
coords
坐標(biāo)值定義可點(diǎn)擊區(qū)域(對(duì)鼠標(biāo)敏感的區(qū)域)的坐標(biāo)。
href
URL定義此區(qū)域的目標(biāo) URL。
nohref
nohref從圖像映射排除某個(gè)區(qū)域。
shape
  • default

  • rect

  • circ

  • poly

定義區(qū)域的形狀。
target
  • _blank

  • _parent

  • _self

  • _top

規(guī)定在何處打開 href 


實(shí)例

帶有可點(diǎn)擊區(qū)域的圖像映射:

<img src="planets.jpg" border="0" usemap="#planetmap" alt="Planets" />
<map name="planetmap" id="planetmap">
  <area shape="circle" coords="180,139,14" href ="venus.html" alt="Venus" />
  <area shape="circle" coords="129,161,10" href ="mercur.html" alt="Mercury" />
  <area shape="rect" coords="0,110,260" href ="sun.html" alt="Sun" />
</map>
返回頂部