1{2 font-family:"Microsoft Yahei";/*font for Microsoft Ya-Black*/3 font-size:20px;/*font size is 20px*/4 Color:Red;/*font color is red*/5 Font-weight:Bold;/*font is bold*/6 Font-style:Italic;/*Italic Style*/7 text-decoration:Underline;/*Underline a font*/8 text-decoration:Line-through;/*Delete Line*/9 text-indent:2em;/*indentation in Chinese text before the paragraph plus two text blank, 2em meaning is twice times the size of the text*/Ten Line-height:2em;/*the line spacing (row height) property (line-height) Implementation sets the paragraph line spacing to twice times. */ One letter-spacing:50px;/*set the text interval or the letter spacing this style is used in English words to set the spacing between letters. */ A word-spacing:50px;/*set the spacing between English words*/ - text-align:Center;/*Set the center style for text and pictures in a block element*/ - text-align: Left; the text-align: Right; - - -}
CSS font styles