HTML type attributes - HTML input labels - HTML form - Guide to HTML, XHTML Guide

Change Font Size: / / Directory List

10.2.1 HTML type attribute

Type attributes - on behalf of HTML form, the importation of single domain (box) expressions
  • Type attribute values:
    • Text - text input field (imported)
    • Password - is text input domain, but the letter to the importation of password symbol '*' Show (imported)
    • File - can enter a file path (imported)
    • Checkbox - box. May choose to zero or more (choice of)
    • Radio - single box. Only one choice and one must choose one (choice of)
    • Hidden - hidden representatives domain, you can send some of the hidden information to the server
    • Button - button (click type)
    • Image - to demonstrate the use of picture buttons, the use of image src attribute designated location (like img src attribute labels) (click type)
    • Submit - submit button, the completed form can be submitted, the information transmitted to the server. Value attribute can be used to display the text on the button (click type)
    • Reset - reset button, can empty the information in the form (click type)
  • Trackback Address: http://www.nt22.com/xhtml-html/attribute_type/

Note

  • Input including text, password, the file
  • Choice-including checkbox, radio
  • Click-including button, image, submin, reset