国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

directory search
HTML 5 <a> 標(biāo)簽 HTML 5 <abbr> 標(biāo)簽 HTML 5 <acronym> 標(biāo)簽 HTML 5 <address> 標(biāo)簽 HTML 5 <applet> 標(biāo)簽 HTML 5 <area> 標(biāo)簽 HTML 5 <article> 標(biāo)簽 HTML 5 <aside> 標(biāo)簽 HTML 5 <audio> 標(biāo)簽 HTML 5 <b> 標(biāo)簽 HTML 5 <base> 標(biāo)簽 HTML 5 <basefont> 標(biāo)簽 HTML 5 <bdo> 標(biāo)簽 HTML 5 <big> 標(biāo)簽 HTML 5 <blockquote> 標(biāo)簽 HTML 5 <body> 標(biāo)簽 HTML 5 <br> 標(biāo)簽 HTML 5 <button> 標(biāo)簽 HTML 5 <canvas> 標(biāo)簽 HTML 5 <caption> 標(biāo)簽 HTML 5 <center> 標(biāo)簽 HTML 5 <col> 標(biāo)簽 HTML 5 <colgroup> 標(biāo)簽 HTML 5 <command> 標(biāo)簽 HTML <!--...--> 標(biāo)簽 HTML 5 <datagrid> 標(biāo)簽 HTML 5 <datalist> 標(biāo)簽 HTML 5 <datatemplate> 標(biāo)簽 HTML 5 <dd> 標(biāo)簽 HTML 5 <del> 標(biāo)簽 HTML 5 <details> 標(biāo)簽 HTML 5 <dialog> 標(biāo)簽 HTML 5 <dir> 標(biāo)簽 HTML 5 <div> 標(biāo)簽 HTML 5 <dl> 標(biāo)簽 HTML 5 <!DOCTYPE> 標(biāo)簽 HTML 5 <dt> 標(biāo)簽 HTML 5 <embed> 標(biāo)簽 HTML 5 <event-source> 標(biāo)簽 HTML 5 <fieldset> 標(biāo)簽 HTML 5 <figure> 標(biāo)簽 HTML 5 <font> 標(biāo)簽 HTML 5 <footer> 標(biāo)簽 HTML 5 <form> 標(biāo)簽 HTML 5 <frame> 標(biāo)簽 HTML 5 <frameset> 標(biāo)簽 HTML 5 <head> 標(biāo)簽 HTML 5 <header> 標(biāo)簽 HTML 5 <h1> 至 <h6> 標(biāo)簽 HTML 5 <hr> 標(biāo)簽 HTML 5 <html> 標(biāo)簽 HTML 5 <i> 標(biāo)簽 HTML 5 <iframe> 標(biāo)簽 HTML 5 <img> 標(biāo)簽 HTML 5 <input> 標(biāo)簽 HTML 5 <ins> 標(biāo)簽 HTML 5 <label> 標(biāo)簽 HTML 5 <legend> 標(biāo)簽 HTML 5 <li> 標(biāo)簽 HTML 5 <link> 標(biāo)簽 HTML 5 <m> 標(biāo)簽 HTML 5 <map> 標(biāo)簽 HTML 5 <menu> 標(biāo)簽 HTML 5 <meta> 標(biāo)簽 HTML 5 <meter> 標(biāo)簽 HTML 5 <nav> 標(biāo)簽 HTML 5 <nest> 標(biāo)簽 HTML 5 <noframes> 標(biāo)簽 HTML 5 <noscript> 標(biāo)簽 HTML 5 <object> 標(biāo)簽 HTML 5 <ol> 標(biāo)簽 HTML 5 <optgroup> 標(biāo)簽 HTML 5 <option> 標(biāo)簽 HTML 5 <output> 標(biāo)簽 HTML 5 <p> 標(biāo)簽 HTML 5 <param> 標(biāo)簽 HTML 5 <em> <strong> <dfn> <code> <samp> <kbd> <var> <cite> 標(biāo)簽 HTML 5 <pre> 標(biāo)簽 HTML 5 <progress> 標(biāo)簽 HTML 5 <q> 標(biāo)簽 HTML 5 <rule> 標(biāo)簽 HTML 5 <s> 標(biāo)簽 HTML 5 <script> 標(biāo)簽 HTML 5 <section> 標(biāo)簽 HTML 5 <select> 標(biāo)簽 HTML 5 <small> 標(biāo)簽 HTML 5 <source> 標(biāo)簽 HTML 5 <select> 標(biāo)簽 HTML 5 <strike> 標(biāo)簽 HTML 5 <style> 標(biāo)簽 HTML 5 <sub> 和 <sup> 標(biāo)簽 HTML 5 <table> 標(biāo)簽 HTML 5 <tbody> 標(biāo)簽 HTML 5 <td> 標(biāo)簽 HTML 5 <textarea> 標(biāo)簽 HTML 5 <tfoot> 標(biāo)簽 HTML 5 <th> 標(biāo)簽 HTML 5 <thead> 標(biāo)簽 HTML 5 <time> 標(biāo)簽 HTML 5 <title> 標(biāo)簽 HTML 5 <tr> 標(biāo)簽 HTML 5 <tt> 標(biāo)簽 HTML 5 <u> 標(biāo)簽 HTML 5 <ul> 標(biāo)簽 HTML 5 <video> 標(biāo)簽 HTML 5 參考手冊 HTML 5 事件屬性 HTML 5 標(biāo)準(zhǔn)屬性
characters

HTML 5 <a> 標(biāo)簽

定義和用法

<a> 標(biāo)簽定義超鏈接,它用于從一個頁面連接到另一個頁面。

HTML 4.01 與 HTML 5 之間的差異

在 HTML 4.01 中,<a> 標(biāo)簽既可以是超鏈接,也可以是錨。這取決于是否描述了 href 屬性。

在 HTML 5 中,<a> 是超鏈接,但是假如沒有 href 屬性,它僅僅是超鏈接的一個占位符。

HTML 5 有一些新的屬性,同時不再支持一些 HTML 4.01 的屬性。

例子:

鏈接到 w3school:

<a >W3School</a>

在新窗口中打開 w3school:

<a  target="_blank">W3School</a>

屬性

屬性 描述 4 5
charset 不贊成。規(guī)定目標(biāo) URL 的字符編碼。 4 ?
coords 不贊成。規(guī)定適于 shape 屬性的坐標(biāo),為圖像映射定義圖像的區(qū)域。 4 ?
href 鏈接的目標(biāo) URL。 4 5
hreflang 規(guī)定目標(biāo) URL 的基準(zhǔn)語言。僅在 href 屬性存在時使用。 4 5
media 規(guī)定目標(biāo) URL 的媒介類型。默認(rèn)值:all。僅在 href 屬性存在時使用。 ? 5
name 不贊成。命名一個錨。不支持。使用 id 代替。 4 ?
ping

由空格分隔的 URL 列表,當(dāng)用戶點(diǎn)擊該鏈接時,這些 URL 會獲得通知。

僅在 href 屬性存在時使用。

? 5
rel 規(guī)定當(dāng)前文檔與目標(biāo) URL 之間的關(guān)系。僅在 href 屬性存在時使用。 4 5
rev 不贊成。規(guī)定目標(biāo) URL 與當(dāng)前文檔之間的關(guān)系。 4 ?
shape 不贊成。為當(dāng)前 area 標(biāo)簽中的映射定義的地區(qū)類型。與 coords 屬性一起使用。 4 ?
target 在何處打開目標(biāo) URL。僅在 href 屬性存在時使用。 4 5
type 規(guī)定目標(biāo) URL 的 MIME 類型。僅在 href 屬性存在時使用。 4 5

標(biāo)準(zhǔn)屬性

class, contenteditable, contextmenu, dir, draggable, id, 
irrelevant, lang, ref, registrationmark, tabindex, template, title

如需完整的描述,請訪 HTML 5 中標(biāo)準(zhǔn)屬性。

事件屬性

onabort, onbeforeunload, onblur, onchange, onclick, oncontextmenu, 
ondblclick, ondrag, ondragend, ondragenter, ondragleave, ondragover, 
ondragstart, ondrop, onerror, onfocus, onkeydown, onkeypress, onkeyup, 
onload, onmessage, onmousedown, onmousemove, onmouseover, onmouseout, 
onmouseup, onmousewheel, onresize, onscroll, onselect, onsubmit, onunload

如需完整的描述,請訪 HTML 5 中事件屬性。

TIY 實例

創(chuàng)建超級鏈接
本例演示如何在 HTML 文檔中創(chuàng)建鏈接。
將圖像作為鏈接
本例演示如何使用圖像作為鏈接。
在新的瀏覽器窗口打開鏈接
本例演示如何在新窗口打開一個頁面,這樣的話訪問者就無需離開你的站點(diǎn)了。
創(chuàng)建電子郵件鏈接
本例演示如何如何鏈接到一個郵件。(本例在安裝郵件客戶端程序后才能工作。)
創(chuàng)建電子郵件鏈接 2
本例演示更加復(fù)雜的郵件鏈接。
Previous article: Next article: