What is different between font-family and generic family ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is different between font-family and generic family ?

8th Apr 2023, 1:57 PM
AR Tahsin
4 Answers
+ 5
https://www.sololearn.com/Discuss/28452/?ref=app and do search on google also according to your understanding
8th Apr 2023, 2:03 PM
Sakshi
Sakshi - avatar
+ 2
font-family specifies a specific font family for an element, while generic-family specifies a general category of fonts to use as a fallback.
8th Apr 2023, 3:30 PM
Java Programming Goal
Java Programming Goal - avatar
8th Apr 2023, 10:48 PM
AR Tahsin
+ 1
It's a good question. 👍 There are 5 generic families and all the font families usually reside among these 5 generic families 1. Serif, 2. sans-serif, 3. cursive, 4. fantasy & 5. monospace. Now each of these generic families have multiple font families. https://code.sololearn.com/Wb1w95rbdoCL/?ref=app
9th Apr 2023, 12:16 AM
Morpheus
Morpheus - avatar