What Does Font Family Mean?
A font family is a set of fonts that have a common design. Fonts within a family, however, differ from each other in style such as the weight (light, normal, bold, semi-bold, etc.) and the slant (roman or upright, italic and oblique). An example of a font family is Times New Roman, which consists of a roman, italic, bold and bold italic version of the same typeface.
Techopedia Explains Font Family
The stroke width and serif characteristics of a font differ from family to family. In Windows, fonts are categorized into six font family names:
- Decorative (a novelty font)
- Modern (a monospaced, fixed-width or non-proportional font)
- Roman (a proportional serif font)
- Script (a cursive or handwriting-like font)
- Swiss (a proportional sans serif font)
- Dontcare (a generic font)
In CSS, font-family is a property of an element that consists of a list of font family names and/or generic family names that are applied to the element. The first item in the list is the default; the rest are used as fallbacks.
In HTML and XHTML, font family is an attribute of an element that indicates the font to be used when rendering the text value of the element.