1. Use CSS to control text styles:
① Set Font
② Define the Row Height
{Line-Height: Value} (for example: {Line-Height: 50px ;}
③ Define underlines, dashes, and strikethrough.
{Text-Decoration: Inherit | none | underline | overline | Line-through | blink}
③ Set the font spacing
{Letter-Spacing: Value} (unit: ex or EM)
④ Control font alignment
{Text-align: Left | right | center | justify}
Ii. Define a style sheet through CSS
① Define an unordered list
{List-style-type: Disc | circle | square | none}
② Define an ordered list
{List-style-type: decimal | Lower-Roman | Upper-Roman | Lower-Alpha | Upper-Alpha | none}
3. added text attributes in CSS.
① Text-Shadow: H-shadow V-shadow blur color;
② Text-overflow: Clip | ellipsis-word
③ Word-wrap: normal | break-word
④ Content: normal | string | ATTR () | uri () | counter ()
Chapter 4-use CSS to control font styles