Nguyễn Trường Sinh
Member
How do I import a font into HTML?
Answer
Create folder – “fonts”.
Answer
Create folder – “fonts”.
- Step 4: Add your custom font files into CSS. To add custom fonts to website use @fontface. Just add the following code into style.css. @font-face {
- Step5: Start working. Now the custom font is added to website and you can use it: h1 { font-family: ‘Harabara Bold’, Arial, sans-serif;