Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
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.
The stroke width and serif characteristics of a font differ from family to family. In Windows, fonts are categorized into six font family names:
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.