CSS
Cascading Style Sheet
The property sets the font face for text. It is equivalent to the FACE attribute of the element. Fonts are read in descending order and must be separated by commas. In the preceding example, Arial is the primary font and will be displayed by browsers and systems with that font. If Arial is not available, Helvetica will be displayed. The final option, the generic name sans-serif, will be used when no other listed font is available.
Example
<html>
<head>
<title>Skillpundit</title>
<style type="text/css"> h1
{
font-family: Arial, Helvatica, sans-serif;
}
</style> </head>
<body>
<h1> www.skillpundit.com </h1>
</body> </html>
<head>
<title>Skillpundit</title>
<style type="text/css"> h1
{
font-family: Arial, Helvatica, sans-serif;
}
</style> </head>
<body>
<h1> www.skillpundit.com </h1>
</body> </html>
Output