#FONT GEORGIA CSS CODE#
In the above code snippet if Times New Roman is not available, then Georgia will be used and if Georgia is not available Book Antiqua will be used. In the table below there are two generic family names and some fonts associated with them: Generic FamilyĪ possible layout in a style sheet could look something like this: bodyįont-family: "Times New Roman", Georgia, "Book Antiqua", serif It is recommended that when specifying values for the font-family property you end with the generic family name which the list of fonts written belong to. These backup fonts are used in the event that the primary font is not available for use. When doing this, the preferred font should be written first followed by backup or substitute fonts. The font-family property is used to specify a list of fonts to be used when displaying a web page. The font-family property is used to specific a font type.Įxamples are Arial ( which belong to the generic family sans serif ) and Times New Roman ( which belong to the generic family serif ). This is a collection of fonts which have an identical appearance.Įxample: serif fonts and sans serif fonts.
![font georgia css font georgia css](https://www.venafi.com/sites/default/files/content/blog/2018-08/blog-image-103.jpg)
The generic family can be best described as the group name of a particular font. Fonts are categorized into two groups generic family and font family.
![font georgia css font georgia css](https://image.slidesharecdn.com/cssfonts-100112150727-phpapp02/85/fontfamilies-in-css-15-320.jpg)
This tutorial focuses on fonts and the properties associated with them.