+ 4

How to add a downloaded font?

Hi, I have been developing a page. And wanna use a font that I have found in Dafont website. How could I implement? thanks :b

14th Feb 2018, 2:15 PM
Dheyson Alves
Dheyson Alves - avatar
3 Answers
+ 2
You can use @font-face (use in CSS). For a good explanation on how this works: https://www.w3schools.com/css/css3_fonts.asp https://stackoverflow.com/questions/7961721/how-do-i-install-a-custom-font-on-an-html-site Best of luck and happy coding!
14th Feb 2018, 2:42 PM
luciel
luciel - avatar
+ 4
Using HTML: <link href='font_url' rel='stylesheet'> or by CSS: @font-face { font-family: 'font_name'; src: url('font_url'); }
14th Feb 2018, 2:43 PM
777
777 - avatar
16th Mar 2019, 2:30 PM
Jean-Baptiste TOGNON
Jean-Baptiste TOGNON - avatar