New course! Every coder should learn Generative AI!
Try a free lesson+ 1
All important font family in CSS please :)
Thanks for helping your friend!
6 Answers
+ 7
In families of polices, you've "serif", "sans-serif" and "monospace". In polices, you've Arial ("sans-serif"), Courier New ("monospace"), Verdana ("serif") for example.
+ 6
You can use it like this :
#text {
font-family: Arial; /* adding a police to the id Text */
}
+ 6
#text {
font-family: monospace; /* adding a monospace family to the id Text */
}
+ 6
But maybe this last example isn't good, I've a better comprehension of polices than families AND I'm not English... :(
+ 5
You want character polices ?
+ 1
Some of the important font families