1 <!DOCTYPE HTML>2 <HTMLLang= "en">3 <Head>4 <MetaCharSet= "UTF-8">5 <title>Css</title>6 <styletype= "Text/css">7 . Test{8 Font:Italic small-caps bold 28px/34px "Microsoft Ya Hei";9 }Ten </style> One </Head> A <Body> - <Pclass= "title">Font Property</P> - <P>Format: font:[[<"Font-style">||<"Font-variant">||<"Font-weight">]?<"Font-size">[ /<"Line-height"> the]?<"Font-family">]</P> - <Table> - <TR> - <TD><"Font-style">:</TD> + <TD>Specify text font style</TD> - <TD>Optional properties:</TD> + <TD>normal | Italic | Oblique</TD> A </TR> at <TR> - <TD><"Font-variant">:</TD> - <TD>Specifies whether the text is a small uppercase letter</TD> - <TD>Optional properties:</TD> - <TD>normal | Small-caps</TD> - </TR> in <TR> - <TD><"Font-weight">:</TD> to <TD>Specifies the thickness of the text font</TD> + <TD>Optional properties:</TD> - <TD>normal | Bold | Bolder | Lighter |<Integer></TD> the </TR> * <TR> $ <TD><"Font-size">:</TD>Panax Notoginseng <TD>Specify text font size</TD> - <TD>Optional properties:</TD> the <TD>absolute-size> |<Relative-size>|<Length>|<Percentage></TD> + </TR> A <TR> the <TD><"Line-height">:</TD> + <TD>Specifies the line height of the text font</TD> - <TD>Optional properties:</TD> $ <TD>normal |<Length>|<Percentage>|<Number></TD> $ </TR> - <TR> - <TD><"Font-family">:</TD> the <TD>Specifies that the text uses a font or a font sequence</TD> - <TD>Optional properties:</TD>Wuyi <TD>[<Family-name>|<Generic-family>]</TD> the </TR> - </Table> Wu <H1class= "Test">This is Test text.</H1> - </Body> About </HTML>
CSS Properties Font