0
Different fonts in different paragraphs
How would I be able to apply fonts such as: Hastag, Ammys Handwriting, Halogen, Journal, and JP Hand Slanted to separate paragraphs and headings?
1 Odpowiedź
+ 20
Assign to each element class or id, then specify the values of "font-family" property for each selector.
Syntax:
selector {
font-family: 'name';
}
https://www.w3schools.com/cssreF/pr_font_font-family.asp
Also, you have to integrate the fonts using the <link> tag inside the <head> tag.
Example:
<head>
<link href="https://fonts.googleapis.com/css?family=Font_Name" rel="stylesheet">
</head>
If you don't find links to your fonts, you can choose a font here:
https://fonts.google.com/