CSS - Font

1 - About

This page is about font in CSS and html.

From a web perspective, a font is considered to be a media resource and can be included in any page from any origin.

3 - Example: Google Font Api


<head>
   <link href='https://fonts.googleapis.com/css?family=Sofia' rel='stylesheet'>
   <style>
   body {
      font-family: 'Sofia';font-size: 22px;
   }
</style>
</head>

the font-size is set on the body to be able to set relative sizing

4 - Stack / Family

A font stack is a list of fonts in order of preference. If the first font could not be loaded, the second one will take over.


['Helvetica', 'sans-serif']

5 - Properties


Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap