0
Do you have to put commas when using a font that consist of two or more words
i once put the font times new roman as the font family for CSS but i didn't put any commas and it still worked so should i still put commas anyway or not and these commas also work ' ' shoud i use these intead
1 Odpowiedź
+ 2
Commas are basically used to load other fonts if the preceeding one(s) is(are) unavailable. ex:
font-family : 'Segoe ui, Times new roman, arial';
So here, basically, it first tries to load the initial font, however, if it is not installed in the user computer it checks for the next one and so on (if none of the fonts are available, each browser has a default font that will be chosen automatically.