CSS provides several properties to style text fonts, such as:
This is Arial font (sans-serif).
This is Courier New font (monospace).
This is Georgia font (serif).
This text is bold and 24px in size.
This is normal weight and 18px.
This paragraph uses italic style and increased line height for better readability.
To use Google Fonts, you need to include a link in your HTML <head> section like this:
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
This text uses the Roboto font from Google Fonts.
Help others discover Technorank Learning by sharing your honest experience.
Your support inspires us to keep building!