读书人

HTML form包孕的元素

发布时间: 2012-10-24 14:15:58 作者: rapoo

HTML form包含的元素

?

HTML form elements

ObjectHTML tagtype propertyDescription and eventsButton<input type="button"> or <button type="button">"button"A push button; onclickCheckbox<input type="checkbox">"checkbox"A toggle button without radio-button behavior; onclickFileUpload<input type="file">"file"An input filed for entering the name of a file to upload to the web server; onchangeHidden<input type="hidden">"hidden"Data submitted with the form but not visible to the user; no event handlersOption<option>noneA single item within a Select object; event handlers are no the select object, not on individual Option objectsPassword<input type="password">"password"An input filed for password entry--typed characters are not visible; onchangeRadio<input type="radio">"radio"A toggle button with radio-button behavior--only on selected at a time; onclickReset<input type="reset"> or <button type="reset">"reset"A push button that resets a form; onclickSelect<select>"select-one"A list or drop-down menu from which one item may be selected; onchangeSelect<select multiple>"select-multiple"A list from which multiple items may be selected; onchangeSubmit<input type="submit"> or <button type="submit">"submit"

A push button that submits a form; onclick

Text <input type="text">"text"A single-line text entry field; onchangeTextarea<textarea>"textarea"A multiline text entry filed; onchange

?

An HTML form containing all form elements

 

读书人网 >CSS

热点推荐