I have a code in html and css. I want to use a special font I've downloaded and after searching some, I wrote the code below:
<head>
<style>
@font-face
{
font-family: paraaminobenzoic;
src: url('paraaminobenzoic.otf');
}
p.custom_font {font-family: paraaminobenzoic;}
</style>
</head>
and it doesn't work and I don't know why. especially I don't know whether I added the code below in the right position or not.
p.custom_font {font-family: paraaminobenzoic;}
can anyone help noticing the problem?