<!DOCTYPE HTML><HTML> <Head> <title>04-css font properties. html</title> <Metaname= "keywords"content= "Keyword1,keyword2,keyword3"> <Metaname= "description"content= "This is my page"> <Metaname= "Content-type"content= "text/html; CHARSET=GBK"> <!--<link rel= "stylesheet" type= "Text/css" href= "./styles.css" > - <styletype= "Text/css">P{Font-style:Italic; /*Normal, italic, oblique, two are italic .*/font-variant:Small-caps;/*Normal, small-caps denotes small caps in English*/Font-weight:Bold;/*Normal | bold | bolder | lighter |*/font-size:absolute-size; /*absolute-size | relative-size | length*/Line-height:Normal;/*Normal | length*/font-family:blackbody; }/*p{font:italic small-caps bold absolute-size blackbody; } */ </style> </Head> <Body> <P>The Font property displays</P><BR> <BR> </Body></HTML>
The Font property is a composite attribute that can be set directly on individual property values or in a row of codes.
css-Font Properties