Since another font is most likely already defined by the browser for form elements, there are two ways to use this font everywhere:
body, input, textarea { font-family: Algerian; } body { font-family: Algerian !important; }
You will still have a monospace font on elements such as pre / code, kbd, etc., but if you use these elements, you'd better use a monospace font.
Important note: if very few people have installed this font in their OS, then the second font in the list will be used. You have not defined a second font here, so the default serif font will be used, and it will be Times, Times New Roman, with the possible exception of Linux.
Two options: use the font @ font-face if your font is free to use as a downloadable font or adds backups: second, third, etc. And finally, the default family (sans-serif, italics (*), monospaced or serif). The first one from the list that exists in the user's OS will be used.
(*) By default, the cursor on Windows is Comic Sans. Also, if you want to troll Windows users, donβt do this :) This font is terrible, except for your children's birthdays, where it is welcome.
FelipeAls Apr 6 2018-12-12T00: 00Z
source share