+ 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
19 Antworten
+ 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.
+ 8
Hope ur doubts are clear
+ 6
Also what is the difference between family name and generic name?
+ 5
When we write Florence, cursive then which one is the font that would appear when I write something
+ 5
Thanx a lottt
+ 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
+ 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.
🤜🏼🤛🏼
+ 4
Ya but plz clear my doubt
+ 4
Thanks everyone
+ 2
Mallika Gupta just refer my code your doubts will be cleared.
https://code.sololearn.com/WgmT2hunk453/?ref=app
+ 1
Just think about it as font not font family
0
India ?
0
The font family describes the font of the element
0