logo

Tag

font
HTML & CSS Resources

CSS: Embedding Fonts on a Website

Here is fast and effective way of embedding fonts into your webpage without having to use graphical images. First we must declare the font within your CSS: @font-face { font-family: amputa; src: url('amputa.ttf'); } @font-face { font-family: amputa; font-weight: bold; src: url('amputa.ttf'); } Now we are able to call it using “font-family” h1 { font-family: amputa, sans-serif; } View Results Download the
Read More