Font Families

This section contains css codes and other related material.

Font Families

Postby MT Shahzad on July 3rd, 2008, 4:33 am

The font-family property is a prioritized list of font family names and/or generic family names for an element. The browser will use the first value it recognizes.

There are two types of font-family values:
* family-name: The name of a font-family, like "times", "courier", "arial", etc.
* generic-family: The name of a generic-family, like "serif", "sans-serif", "cursive", "fantasy", "monospace".

Note: Separate each value with a comma, and always offer a generic-family name as the last alternative.

Note: If a family-name contains white-space, it should be quoted. Single quotes must be used when using the "style" attribute in HTML.

Here is the list of font families commonly available on all systems.
Arial, Helvetica, sans-serif

'Times New Roman', Times, serif

'Courier New', Courier, monospace

Georgia, 'Times New Roman', Times, serif

Verdana, Arial, Helvetica, sans-serif

Geneva, Arial, Helvetica, sans-serif
MT Shahzad
Web/Software Developer
http://mts.sw3solutions.com
User avatar
MT Shahzad
Site Admin
 
Posts: 300
Joined: February 29th, 2008, 8:11 am
Location: Muridke, Pakistan

Return to CSS - Cascading Style Sheet

Who is online

Users browsing this forum: No registered users and 0 guests

cron