Question

How To Use The url Thingy In The @font-face Rule

Connected Tutorial
This question is a follow-up to this tutorial:

I become so very lost when I try to put my mind around what value to use when specifying the url attribute of the @font-face Rule. Please, I would like to know:

  1. If the value of the attribute is the url link to the website from which I downloaded the custom font. OR
  2. Will it be the path to the directory where I downloaded the said font on my machine?
  3. If no. 2 is what is true, how does it all come to make any sense when I choose to host the website on a server?

(Pray, I hope I have not sounded like a complete idiot.) Do help me.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer