+ 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
3 Réponses
+ 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!
+ 4
Using HTML:
<link href='font_url' rel='stylesheet'>
or by CSS:
@font-face {
font-family: 'font_name';
src: url('font_url');
}
0
use this link : https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_font-face_rule, it can help you.