font html cdn code example
Example 1: import google font css
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
.generic_class {
font-family: 'Open Sans', sans-serif;
}
Example 2: font awesome cdn
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
Example 3: font awesome cdn
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
Example 4: use google font in html
body {
font-family: '*Insert google font';font-size: 22px;
}