CSS Web Safe Fonts

CSS Web Safe Fonts


CSS Web-Safe Fonts 
Web safe fonts are the fonts which are supported by all the web browsers, and installed in all the devices world wide.
As we have studies font-family property already we were waiting more than one font as the value, but only one font was visible the reason is given down below - 
However, there are no 100% completely web-safe fonts. There is always a chance that the font is not found or is not installed.
Hence, that is why it is very important to always use fallback fonts.
What are fallback fonts – these are alternative fonts which are specified– in font family property used when one font is not working for some reason.
Hence, we must list the "backup fonts" in the font-family property. If the first font does not work, the browser will try the next one, and the next one, and so on. 
.hello
{

font-family: Georgia, 'Times New Roman', serif;

}
Following is given the list of web-safe fonts - 
  1. Tahoma 
  2. Trebuchet MS 
  3. Times New Roman
  4. Arial 
  5. Georgia Garamond
  6. Courier New 
  7. Brush Script MT
  8. Verdana 
  9. Helvetica
Example -  showing how the actual text would look like -

Now we will see Examples of some fonts - 

Example 1 - Using Arial

Output -

Example 2 - Using Verdana  -

Output -

Example 3 - Using Garamond

 

Output

Example - Using Courier New

 

Output

Example - Using Brush Script MT

 

Output