You can use @ font-face
In your css, the font will be declared using the @ font-face rule. You can specify a font family, specify links to fonts in different formats.
@font-face { font-family: 'MyWebFont'; src: url('webfont.eot'); src: url('webfont.eot?#iefix') format('embedded-opentype'), url('webfont.woff') format('woff'), url('webfont.ttf') format('truetype'), url('webfont.svg#svgFontName') format('svg'); }
In your html you call it with font-family
body { font-family: 'MyWebFont', Fallback, sans-serif; }
source share