Font Name Property (font-family) This property sets the font name, such as Arial, Tahoma, Courier, and so on. The example is as follows:. S1 {font-family:arial}
Font Size property (font-size) This property can set the font size. There are several ways to set the font size, and the most common are pt and px (pixel). The example is as follows:. s2 {font-size:16pt}
font style attribute (Font-style) This property has three values: normal, italic, oblique. Normal is the default value, italic, and oblique are all italicized displays. Examples are as follows:. S1 {font-sytle:italic}
font bias property (font-weight) This property is commonly used for normal and bold,normal are the default values. The example is as follows: <p style = "Font-weight:bold" > The shade Attribute (font-weight) value of this text font is bold. <p>
Font variable properties (font-variant) This property has two values, and normal and small-caps,normal are the default values. Small-caps represents a small uppercase font. The examples are as follows:. S1 {font-variant:small-caps}
Font Property (font) This property is a quick and comprehensive way of writing various font properties. This property can be combined with attributes such as font style attributes (font-style), font variable properties (font-variant), Font bias properties (font-weight), Font size properties (font-size), and so on. The example is as follows:. s1 {font:italic normal bold 11pt arial}
Font Color (color) font color is represented by the colour attribute in CSS. See CSS common Text properties.
CSS Fonts Property (font)