What is font family?
Font family represents the different type of fonts for text.
Example:
<html> <head> <style> .height_set { color : green; background : yellow; font-family:”Times New Roman”; } </style> </head> <body> <div class=”height_set”>this is font family representation in time new roman</div></h1> </body> </html> |
Output:
This is font family representation in time new roman |
Different font families:
This is Times new roman |
This is impact |
This is verdana |
This is Times comic sans ms |
and many other font families are also available for use in CSS.
Latest posts by Prof. Fazal Rehman Shamil (see all)
- How Students Can Pick a Good Custom-Paper Writing Service? - March 5, 2021
- List of Public service commissions - August 31, 2020
- Comparison of fee structure of Pakistani Universities - June 1, 2020