How to add custom font to html code

We work with digital signage software that is heavily HTML-based. I created the code for the date and time from the free time and date site, which is nice and it supports our language (Serbian).

However, there are several fonts that are predefined that we can choose from, none of which are quite a font. I wanted to know if it is possible to add code to it that can trigger a custom font that I have uploaded to our personal repository. I'm not that good with HTML, and seeing that this might be the best site for HTML problems on the web, I thought I might ask here.

Here is the code:

<iframe src="http://free.timeanddate.com/clock/i4c0bglr/n3395/tlrs36/fn10/fs36/tct/pct/tt0/tb4" frameborder="0" width="504" height="86" allowTransparency="true"></iframe>

      

thnx in advance

+3


source to share


1 answer


Yes, you can add custom fonts to your CSS.

It's a bit tricky to get it right because you need to convert the font file to 5 different file types and then you will need to get your font declarations straight away. There are tools for this, but I haven't found one that does it right. Here's one .

If you are, as you say, not good with HTML, I personally recommend Google Web Fonts . This is the easiest way to get the results you want quickly.

EDIT:



Choosing a pure HTML font:

<font face="Helvetica">Text text text</font>

      

(system fonts only)

0


source







All Articles