亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

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 參考手冊(cè) HTML 5 事件屬性 HTML 5 標(biāo)準(zhǔn)屬性
characters

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

定義和用法

<label> 標(biāo)簽定義控件的標(biāo)注。如果您在 label 元素內(nèi)點(diǎn)擊文本,就會(huì)觸發(fā)此控件。就是說(shuō),當(dāng)用戶(hù)選擇該標(biāo)簽時(shí),瀏覽器就會(huì)自動(dòng)將焦點(diǎn)轉(zhuǎn)到和標(biāo)簽相關(guān)的表單控件上。

HTML 4.01 與 HTML 5 之間的差異

沒(méi)有。

提示和注釋

注釋?zhuān)?/span>"for" 屬性可把 label 綁定到另外一個(gè)元素。請(qǐng)把 "for" 屬性的值設(shè)置為相關(guān)元素的 id 屬性的值。

屬性

屬性 描述 4 5
for id_of_another_field

定義 label 針對(duì)哪個(gè)表單元素。設(shè)置為表單元素的 id。

注釋?zhuān)喝绻藢傩晕幢灰?guī)定,那么 label 會(huì)關(guān)聯(lián)其內(nèi)容。

4 5

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

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

如需完整的描述,請(qǐng)?jiān)L問(wèn) 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

如需完整的描述,請(qǐng)?jiān)L問(wèn) HTML 5 中事件屬性。

TIY 實(shí)例

label
如何為控件定義標(biāo)記。
Previous article: Next article: