1. Forms
<table><table/> Forms
Width: Wide
Border: Border
cellpadding: Margins for content and cell borders
cellspacing: Cell spacing
bgcolor: Background color
Background
<tr><tr/>: Line
<TD><TD/>: Column
Colspan= "n" merges the same row of cells
Rowspan= "n" merges the same column cell
Form
1, text input
text box <input type= "text" name= "" id= "" value= ""/>
Password box <input type= "password" name= "" id= "" value= ""/>
Text field <input type= "text" name= "" id= "" value= ""/>
Hidden fields <input type= "text" name= "" id= "" value= ""/>
2, Button
Submit button <input type= "Submit" disable= "Disable" name= "" id= "" value= ""/>
Reset button <input type= "Submit" disable= "Disable" name= "" id= "" value= ""/>
Normal button <input type= "Submit" disable= "Disable" name= "" id= "" value= ""/>
Picture button <input type= "text" name= "" id= "" value= ""/>
* Attached
Disable to invalidate a button; Enable to make available like a Boolean bool or true,flase, a button that is either available or invalid
<input type= "text" name= "" id= "" value= ""/>
<input type= "text" name= "" id= "" value= ""/>
<input type= "text" name= "" id= "" value= ""/>
<input type= "text" name= "" id= "" value= ""/>
Take the registration website as an example:
<title> form </title>The ID is not repeatable; the difference between get and post: Get commits have a length limit, and the encoded content is visible in the address bar, the post length is unlimited, and the content is not visible after encoding.
<from/>
text box <input type= "text" name= "" id= "" value= ""/>
Password box <input type= "password" name= "" id= "" value= ""/>
Text field <textarea name= "" id= "" cols= "" (Number of characters) rows= "" (a few lines high) ><textarea/>
Hidden fields <input type= "hidden" name= "" id= "" value= ""/>
2. Button:
Submit button <input type= "Submit" Name= "id=" "disabled=" Disabled "value=" submit "/>
Reset button <input type= "reset" name= "" id= "" disabled= "Disabled" value= "reset/>
Normal button <input type= "button" name= "" id= "" disabled= "Disabled" value= ""/> Infrequently used
Picture button <input type= "image" Name= "" id= "" disabled= "Disabled" src= "Picture address"/>
Attach disabled to invalidate the button; Enable to make available (the system is customized to be available after disabled out, similar to the bool Boolean Type C #).
3, select input
radio button Group <intput type= "Redio" name= "" checked= "Checked" value= ""/>
check box group <input type= "checkbox" Name= "checked=" checked "value=" "/>
File upload <input type= "file" name= "id=" "/>
<lable for= "" ><lable/>
<select name= "" id= "" size= "" multiple= "multiple" > Size=1 when it is a menu; >1 is a list.
Drop-down list box
<select name= "" id= "" multiple= "multiple" >--size=1 is a menu; >1 is a list. Multiple is a multi-select.
html-Forms and forms