how to import custom fonts in html code example
Example 1: how to link fonts css
@font-face {
font-family: myFirstFont;
src: url(sansation_light.woff);
}
div {
font-family: myFirstFont;
}
/*Name the font-family and link the font file in the @font-face rule*/
Example 2: using custom fonts in php
@font-face {font-family: "My Custom Font"; src: url('../fonts/gurbaniwebthick.ttf') ;}