0

Html font examples

I know how to change font in HTML, but what are some font examples? My code is right (I think), but the font doesn’t change. I believe this is how you do it: <article “font= EXAMPLE FONT TYPE”>hi</article> So could someone please give examples of font types that will work, or what I’m doing wrong. Thanks

10th Jan 2020, 4:28 PM
Hanna K.
Hanna K. - avatar
1 Answer
0
font-family: "Times New Roman", Times, serif; font-style: italic; font-size: 30px; font-weight: bold; Ex: inline style <h1 style="font-size:10px">Hello World</h1> In css, p.small { font-variant: small-caps; } A short form of all font properties.. p.big { font: 15px arial, sans-serif; } p.b { font: italic bold 12px/30px Georgia, serif; } Hoping this helps...
10th Jan 2020, 7:42 PM
Jayakrishna 🇼🇳