What is the difference between Font-family and font-style ? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

What is the difference between Font-family and font-style ?

24th Aug 2020, 3:16 PM
NotMicah
2 Respuestas
+ 3
Kitty Font-family is the property in which specific size and style of type is present and has a unique “fallback” property i.e. if the browser does not support the first one, it goes for next one and so on.  Eg: font-family: ”Times New Roman”, Times , Serif; font-style is used to display specify style to text. Eg: font-style: italic; It can italic, bold underline, oblique.
24th Aug 2020, 3:21 PM
Himanshu Shah
Himanshu Shah - avatar
+ 1
Thank you !
24th Aug 2020, 3:22 PM
NotMicah