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

目錄 搜尋
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)屬性
文字

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

定義和用法

<form> 標(biāo)簽創(chuàng)建供用戶輸入的表單。

表單可包含文本域,復(fù)選框,單選按鈕等等。表單用于向指定的 URL 傳遞用戶數(shù)據(jù)。

HTML 4.01 與 HTML 5 之間的差異

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

在 HTML 5 中有一個新屬性:replace。它定義表單被提交后所做的事情。

屬性

屬性 描述 4 5
action 定義一個 URL。當(dāng)點(diǎn)擊提交按鈕時,向這個 URL 發(fā)送數(shù)據(jù)。 4 5
data 供自動插入數(shù)據(jù)。 ? 5
replace 定義表單提交時所做的事情。 ? 5
accept 處理該表單的服務(wù)器可正確處理的內(nèi)容類型列表(用逗號分隔)。 4 5
accept-charset 表單數(shù)據(jù)的可能的字符集列表(逗號分隔)。默認(rèn)值是 "unknown"。 4 5
enctype 用于對表單內(nèi)容進(jìn)行編碼的 MIME 類型。 4 5
method 用于向 action URL 發(fā)送數(shù)據(jù)的 HTTP 方法。默認(rèn)是 get。 4 5
name 為表單定義一個唯一的名稱。不支持。用 id 代替。 4 ?
target 在何處打開目標(biāo) URL。 4 5

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

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

如需完整的描述,請?jiān)L 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

如需完整的描述,請?jiān)L HTML 5 中事件屬性。

TIY 實(shí)例

帶有輸入框和確認(rèn)按鈕的表單
本例演示如何向頁面添加表單。此表單包含兩個輸入框和一個確認(rèn)按鈕。
帶有復(fù)選框的表單
此表單包含兩個復(fù)選框和一個確認(rèn)按鈕。
帶有單選按鈕的表單
此表單包含兩個單選框和一個確認(rèn)按鈕。
從表單發(fā)送電子郵件
此例演示如何從表單發(fā)送電子郵件。
上一篇: 下一篇: