Border
Box
Background image
Background color
Summary of the above four CSS basics
Text formatting:
Control font
Control text formatting
Table Style:
Table Common style properties
Table-specific style properties
Control font
Font-famaily:value1,value2;
Font Size:
Font-size:value;
Font Bold:
Font-weight:normal;
Control text Format:
Text color:
Color:value;
Text arrangement:
Text-align:left/right/center;
Text decoration:
Text-decoration:none/underline
Row Height:
Line-height:value (1.6EM)
There are line text indents:
Text-indent:value (2EM)
<!doctype html>
Table Style:
Table Style Common Properties:
Tables can also use the box model and text formatting properties
Table-specific style properties:
Border-collapse Properties: Merging adjacent borders
Set table borders to merge into a single border
Border-collapse;separate/collapse;
<!doctype html>
CSS Declaration 1