Hello guy welcome back to my blog. Today i am going to show you how font family exactly works under the hood.
Typically there are mainly 2 types of fonts.
- Serif
- Sans-serif
Now as you are going to ask me what is the difference between these 2 fonts so there is a simple answer for it ” Look and feel of these 2 types of fonts are different”. Wait for a second i am showing it to you how you can identify these 2 different fonts. Please find below screenshot which shows serif and sans-serif fonts difference.
Every web page has font-family property written like this format `font-family: Arial, Helvetica, sans-serif;`
What it means that browser will look for Arial fonts first if those are not present then it will look for Helvetica. If Those are not present then it will take any sans-serif font from your browser.