0

How to add font to a HTML ??

suppose i want to use this font in my html document: http://www.dafont.com/hacked.font?text=Gfrhgd how do i do it

10th Jul 2017, 11:41 AM
None
None - avatar
2 Réponses
+ 11
#### Standard Way #### (1) Download the font in ".ttf" format (2) @font-face ~ https://goo.gl/f9YRSj #### Remote (via CDN) #### To link remote sources things might be harder and the only solution i know is hosting your ".ttf" file elsewhere and link it through the @font-face property remotely. If you use "Google Font" you can link easily fonts via CDN just pasting the <link> tag provided by Google itself in your <head> section. Notes: For be sure that your font will be see by anyone, you should make it compatible with all browsers using different font formats.
10th Jul 2017, 11:53 AM
Maz
Maz - avatar
0
In case of this specific font (HACKED.ttf), you should download it and put it on your server then use the css @font-face to embed it in to your site. But be aware of this CC-BY license: The font is published under the Creative commons Attribution (CC-BY) licence. So YOU CAN use the font for all your creations (even for commercial creations) only if you put the link "http://watchdogsfont.com" OR "http://www.dafont.com/hacked.font" OR the font creator's name "David Libeau" in your credits (YouTube video description, website About page...). So simple ! :) As you can see on the creator website: https://watchdogsfont.com/
10th Jul 2017, 1:05 PM
Evgeny Satanovsky
Evgeny Satanovsky - avatar