亚洲国产日韩欧美一区二区三区,精品亚洲国产成人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 <textarea> 標(biāo)簽

定義和用法

定義一個(gè)文本區(qū)域 (text-area) (一個(gè)多行的文本輸入?yún)^(qū)域)。用戶(hù)可在此文本區(qū)域中寫(xiě)文本。在一個(gè)文本區(qū)中,您可輸入無(wú)限數(shù)量的文本。文本區(qū)中的默認(rèn)字體是等寬字體 (fixed pitch)。

HTML 4.01 與 HTML 5 之間的差異

在 HTML 5 中有一些新屬性,同時(shí)不再支持 HTML 4.01 中的一些屬性。

例子

<textarea rows="3" cols="30">
這里是文本域中的文本 ... ... ... ...
</textarea>

屬性

屬性 描述 4 5
autofocus
  • true
  • false
在頁(yè)面加載時(shí),使這個(gè) textarea 獲得焦點(diǎn)。 ? 5
cols number 規(guī)定文本區(qū)內(nèi)可見(jiàn)的列數(shù)。 4 5
disabled
  • true
  • false
當(dāng)此文本區(qū)首次加載時(shí)禁用此文本區(qū)。 4 5
form
  • true
  • false
定義該 textarea 所屬的一個(gè)或多個(gè)表單。 ? 5
inputmode inputmode 定義該 textarea 所期望的輸入類(lèi)型。 ? 5
name name_of_textarea 為此文本區(qū)規(guī)定的一個(gè)名稱(chēng)。 4 5
readonly
  • true
  • false
指示用戶(hù)無(wú)法修改文本區(qū)內(nèi)的內(nèi)容。 4 5
required
  • true
  • false
定義為了提交該表單,該 textarea 的值是否是必需的。 ? 5
rows number 規(guī)定文本區(qū)內(nèi)可見(jiàn)的行數(shù)。 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í)例

Textarea
如何創(chuàng)建 textarea。
Previous article: Next article: