HTML CSS

HOW TO ADD CUSTOM FONTS

1) UPLOAD FONT

Various places to find fonts, such as Font Squirrel and DaFont.

Make sure to find a font that is available for online use (avoid copyright issues).

Upload the font to the server.

2) CSS FONT FACE

<style> @font-face {   font-family: ABZ; /* ANY NAME */   src: url('ABeeZee-Regular.otf'); } @font-face {   font-family: Roboto; /* ANY NAME */   src: url('Roboto-Regular.ttf'); } </style>

3) APPLY FONT

<style> h1, h2, h3, h4, h5 { font-family: ABZ; } p, span, div { font-family: Roboto; } </style>