1. Page Properties:
(1) Body property
BgColor: Setting the background color
Background: Setting a background picture
If two simultaneous settings, priority reads background
Example:
(2) Notes
Explain a section of content: <!-explain Content-
Note A section of content: <!-Comment Content--
2. Forms <table></table>
<table>
<tr>----------------- defining table Rows
<td></td>----------------- defining table Columns
<td></td>
...............
</tr>
<tr>
<td></td>
<td></td>
...............
</tr>
..............
</table>
Table Properties:
border: Sets the border width by default to 0
BorderColor: Set Border color
Boedercolorlight: Sets the color of the bright portion of the border, which is useful only when border>=1
Bordercolordark: Sets the color of the dark part of the border, which is useful only when border>=1
When Boedercolorlight and Bordercolordark color want to share, vision has a bump effect
cellpadding : The amount of space between the table border and the internal content, with a default value of 2
cellspacing : Sets the amount of space between tables and table, with a default value of 2
Align: Alignment
Red Three are called: three parameters of a table.
<tr></tr> Properties:
Width: Wide
Height: High
bgcolor: Background color
Align: Set horizontal alignment (left, right, center)
valign: Set vertical alignment (top, middle, bottom)
<td></td> Properties:
Width: Wide
Height: Set height
Bgcolor: Setting the background color
Background: Setting a background picture
Align: Set horizontal alignment (left, right, center)
valign: Set vertical alignment (top, middle, bottom)
Rowspan: Merging vertically
Colspan: Horizontal Orientation Merge
The shortcut keys for merging cells in DW (Dreamweaver) are: M
3. Set the color of the table box:
Step one: Set the background color of table, do not set the border property;
Step Two: Set the background color of the TR
Step three: Set the value of cellspacing not to 0
Example:
HTML Basic Knowledge II