Someone plz explain the font family in css | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 3

Someone plz explain the font family in css

I am not getting what actually is happening...in html they wrote some code and then in css ....which font is finally applicable

19th Apr 2020, 8:46 AM
Mallika Gupta
15 Respostas
+ 9
Css font family property is used to specify a list of prioritizedĀ fonts.While, Generic font family In CSS is a broad class of similarĀ fontsĀ used in a prioritized list ofĀ fonts.Ā 
19th Apr 2020, 9:44 AM
Dipendra
Dipendra - avatar
+ 8
Hope ur doubts are clear
19th Apr 2020, 9:45 AM
Dipendra
Dipendra - avatar
+ 6
Also what is the difference between family name and generic name?
19th Apr 2020, 8:50 AM
Mallika Gupta
+ 5
When we write Florence, cursive then which one is the font that would appear when I write something
19th Apr 2020, 9:00 AM
Mallika Gupta
+ 5
Thanx a lottt
19th Apr 2020, 9:15 AM
Mallika Gupta
+ 5
Q:What the font-family property does? A:It specifies the font for a selected HTML element. Q: How does It do the specification? A: It does the specification by setting value(s) to the font-family property. There is an hierarchy in the values, because there are two types of font family names: - font family: a SPECIFIC font family, the name of the family, like Times New Roman or Arial. - generic family: a GROUP of font families with a similar look, the name of a GENERIC family, like Serif or Monospace. Details about CSS synthax: ā€¢ Separated with commas each different name of a font. ā€¢ If the font family name is more than one word, you must use quotation marks to refer to It, which is done to make the letters or words in between to work as a single unit of text, then making a precise reference. The ā€œfallbackā€ expression means an alternative plan that may be used in an emergency, then, If the userā€™s eletronic device doesnā€™t have some font, another can work too. God bless us with knowlegde and his presence, hugs
21st Apr 2020, 6:16 AM
ā€Žā€ā€Ŗā€ā€Ŗā€ā€ŖVinĆ­cius dos Reis Lobo Silvaā€¬ā€ā€¬ā€ā€¬ā€ā€Ž
ā€Žā€ā€Ŗā€ā€Ŗā€ā€ŖVinĆ­cius dos Reis Lobo Silvaā€¬ā€ā€¬ā€ā€¬ā€ā€Ž - avatar
+ 5
Please, if you recognize that my previous answer was the best one for your understanding, press and hold on It and choose as the best. šŸ¤œšŸ¼šŸ¤›šŸ¼
21st Apr 2020, 6:18 AM
ā€Žā€ā€Ŗā€ā€Ŗā€ā€ŖVinĆ­cius dos Reis Lobo Silvaā€¬ā€ā€¬ā€ā€¬ā€ā€Ž
ā€Žā€ā€Ŗā€ā€Ŗā€ā€ŖVinĆ­cius dos Reis Lobo Silvaā€¬ā€ā€¬ā€ā€¬ā€ā€Ž - avatar
+ 4
Ya but plz clear my doubt
19th Apr 2020, 8:49 AM
Mallika Gupta
+ 4
Thanks everyone
19th Apr 2020, 5:15 PM
Mallika Gupta
19th Apr 2020, 4:58 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 2
Mallika Gupta just refer my code your doubts will be cleared. https://code.sololearn.com/WgmT2hunk453/?ref=app
20th Apr 2020, 7:58 PM
Dushyant Kumar Tyagi
Dushyant Kumar Tyagi - avatar
+ 1
Just think about it as font not font family
21st Apr 2020, 2:37 AM
Mason Arb
Mason Arb - avatar
0
India ?
20th Apr 2020, 4:46 PM
Avinash Kumar
Avinash Kumar - avatar
0
The font family describes the font of the element
21st Apr 2020, 5:27 AM
Polarathi Alekya
Polarathi Alekya - avatar
0
21st Apr 2020, 7:53 AM
DeAnna