HTML-- form elements

Each had its own line <br>

 

Form <form> </ form> tag for receiving the form: text fields (TextArea), drop-down lists, radio buttons (radio-buttons), box (checkboxes) default (ABE)

All elements are contained in the <form> </ form> in

< Form Action = "address submitted form" method = "submit the" > 

<INPUT type = "element type form" name = "button" value = "value"> element 

</ form >

 

  Submission of:. 1 get unsafe data is limited in size

                      2. post no way secure data size limit

input type = "form elements"     

name = "key" to the entire <form> tag files as a stack of Chernobyl show that name is equivalent to seek a file number                  

Value is sent to the server when the value = "value" form is submitted

    Text type ;;;

       Text Box: text

      Password box: password

      Hidden Field: hidden

<form>
wenbenkuang : <input type="text" name="&nbsp;"><br>
mimakuang: <input type="password" name="paw">
yangcangyu:<input type="stealth" name="sl">

</form>

Button type ;;;

      submit: submit button is submitted throughout the <form> tag content to the server

      reset: reset button can be likened cleared

     button: push button with custom

Select button

Radio: After radio / <label> </ label> point plus text can also be selected

Multiple choice; checkbox /

checked the label selected by default in advance to choose a good metaphor like rogue software

 <input type="checkbox" name="vehicle" value="Car" checked>

file type

::: file upload files property

Drop-down box

<select   name="键" >

            <option value=" "></option>

             <option value=" "></option>

            <option value=" "></option>

</select>

Text fields

The user can write text in a text field. Words can write characters is not limited.

< The TextArea rows = "10" cols = "30" > 
I am a text box. 
</ TextArea >

 

Guess you like

Origin www.cnblogs.com/layuechuquwan/p/11031593.html