WEB SAFE FONT | Sololearn: Learn to code for FREE!

+2

WEB SAFE FONT

Is there any trick to using any font I want and have it appear the same to all users?

8/1/2017 7:33:31 PM

Lanie

4 Answers

New Answer

+4

You can use @font-face: /* Setup a font */ @font-face { src: url('path/to/font.ttf'); font-family: FontName; } /* Use the font in your document */ * { font-family: FontName; }

+2

Thanks!

+2

Use Google fonts. Over 600 of free, publicly accessible fonts. Put this into the head tag <link href="https://fonts.googleapis.com/css?family=name-of-font" rel="stylesheet"> then use the font is if it was a local font. font-family: name-of-font;

+2

Google Fonts is web safe