Form:
Basic structure:
<table>
<tr>
<td> everything </td>
</tr>
</table>
"You can add tables individually in each cell in the table"
Properties of Table:
Width: Wide
Border: Border
Align: Alignment
bgcolor: Background color
Background: Background image
CellPadding: The distance between the content and the cell border, the internal distance
CellSpacing: Distance between cells, external distance
Properties of TR
Align: line content horizontal alignment
valign: line Content Vertical alignment
Height: Row Height
bgcolor: Background color
Background: Background image
Properties of TD
Align: cell content horizontal Alignment
valign: Vertical alignment of cell contents
Height: Cell Height
Width: Cell width
bgcolor: Background color
Background: Background image
Three points of focus
One, several rows (several rows, each row has several cells)
Second, width and height
Width= "" Higth= ""
Three, border
Border= "" in pixels when the number is zero, the table has no border
--------------------------------------------------------------------
Forms: Form elements are generally written in the middle of a <form> form tag, and a page can have only one form form
First, text input
text box-<input type= "text" >
Password box-<input type = "Password" >
Text Fields-<textarea></textarea>
Hidden Fields-<input type= "hidden" >
Second, button
Submit button-<input type= "Submit" >
Reset button-<input type= "Reset" >
Normal button-<input type= "button" >
Picture button-<input type= "image" >
disabled = "disabled/enable"-make button unavailable/available
Id= ""
Value-button display text
Third, select input
Radio button-<input type= "Radio" >
Check button-<input type = "checkbox" >
Name= "What to group on"-Grouping
Checked = "Checked"-Selected by default (only one in group of radio buttons, more than one in group of multi-select buttons)
<label for= "point to ID" >-position the focus to the ID element for the for point
File upload-<input type = "File" >
Drop-down list box:
<select multiple= "multiple" >-whether to display multiple items
<option> 1</option>
<option> 2</option>
......
</select>
Option has the selected property, set selected = "Selected", is the default check
Forms and Forms