About US

User Account

Other

CSS Fonts

Description

The CSS font properties define the font family, boldness, size, and the style of a text.

 

CSS Font Families

In CSS, there are two types of font family names:

  • generic family - a group of font families with a similar look (like "Serif" or "Monospace")
  • font family - a specific font family (like "Times New Roman" or "Arial")

Font Family

The font family of a text is set with the font-family property.

The font-family property should hold several font names as a "fallback" system. If the browser does not support the first font, it tries the next font, and so on.

Start with the font you want, and end with a generic family, to let the browser pick a similar font in the generic family, if no other fonts are available.

Note: If the name of a font family is more than one word, it must be in quotation marks, like: "Times New Roman".

More than one font family is specified in a comma-separated list:

Example: 

 





 

 

CSS font-family

 

This is a paragraph, shown in the Times New Roman font.

 

This is a paragraph, shown in the Arial font.

 

 

Write Reviews



Related Topics

by : Admin


42    0   

by : Admin


34    0   

by : Admin


29    0   

by : Admin


26    0   

by : Admin


35    0   

by : Admin


38    0   

by : Admin


27    0   

by : Admin


18    0   

Get a new website now!!

Getting a website for your small or large business is an essential way of making it grow globally.

Copyrights © 2018 Dreamsmolder.com. All rights reserved.