font-family (CSS2)

Specifies the font face for the element.

Syntax

family name | inherit

Examples having uses of: 'font-family'

2 votes
11k views

CSS on HTML

Extend the standard HTML element styles by CSS.
2 votes
10k views

CSS @font-face

CSS3 allows user to use the font that are even not installed on his/her own computer. The fonts that that resides on the server can be used by CSS3 @font-face.
0 votes
2k views

CSS @font-face with Multiple Fonts

CSS3 allows user to use the font that are even not installed on his/her own computer. The fonts that that resides on the server can be used by CSS3 @font-face.
1 votes
1k views

CSS Basic Formatting

This example uses a basic internal CSS Style Sheet sets the page background to green (#9AFE2E), and then we add CSS attributes for <h1> and <p> tags.
0 votes
1k views

CSS Text

Styling HTML elements with font-family, color, and font-size properties defines the font, color, and size of the text in an element.
0 votes
1k views

CSS Pseudo

CSS pseudo-classes are used to add special effects to some selectors.
0 votes
1k views

CSS on Text

Use CSS to set the font of a text
0 votes
1k views

CSS Font

This example shows you three lines of text, two controlled by a class. Each class has a different font applied. The fonts are applied using an internal Style Sheet. The "Example Fonts" is using a simple <h1> tag.
0 votes
1k views

CSS @font-face with font-weight

CSS3 allows user to use the font that are even not installed on his/her own computer. The fonts that that resides on the server can be used by CSS3 @font-face.
0 votes
1k views

CSS Font Attributes

Using text properties of CSS we can set the height, width , color of the text