There are a lot of websites that we see today but only use about 9 common fonts – aka web safe fonts.
2. Time New Roman;
6. Trebuchet MS;
7. Courier New;
8. Comic Sans MS;
In web design, many times we want to use a few unique fonts to create an aesthetic effect on the viewer. But in the past, when embedding fonts was not possible, designers were forced to use only fonts that people on computers (or other devices) have, and that caused problems. coined the term web-safe fonts – these are the most commonly installed fonts on computers worldwide.
Now everything is solved simply, the designer just needs to put his unique font on the website's host (or third party). When users browse the web, they will download fonts (like downloading images) and see fancy font effects on the website.
The first way: Embed the font directly into the web with code. The following code is included in the CSS file
font-family:abc; // name of the font you want to set
In which the html files are outside, and each specialized section has its own folder like css, image, fonts... The fonts folder to store our ...