Search code examples
htmlcssfontsfont-facewebfonts

How to implement default fonts to my web page


How can I inplement a deffault fonts to my web page. I have file with fonts, all I need to know is how to implement it?

Best wishes and thanks !!!


Solution

  • correct you can use this css

    @font-face {
      font-family: myFirstFont;      
      src: url(sansation_light.woff);
    }  
    

    also, for complete code usage please refer to this link

    all the best