+ 1

Why is the font not working

<html>   <head>     <link rel="stylesheet"           href="https://fonts.googleapis.com/css?family=Tangerine">     <style>       body {         font-family: 'Tangerine', serif;         font-size: 48px;       }     </style>   </head>   <body>     <div>Making the Web Beautiful!</div>   </body> </html>

16th Dec 2019, 11:33 AM
Emmanuel
Emmanuel - avatar
2 Answers
+ 3
<!--Ogankpa Emmanuel the font-family (Tangerine) works but you need to use proper link run code below: also refer this guide: https://fonts.google.com/selection?selection.family=Tangerine --> <!DOCTYPE html> <html> <head> <link href="https://fonts.googleapis.com/css?family=Tangerine&display=swap" rel="stylesheet"> </head> <style> body{ font-family: 'Tangerine', cursive; font-size:2em; } </style> <body> This is some text </body> </html>
16th Dec 2019, 11:45 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 1
Thanks it worked
16th Dec 2019, 11:49 AM
Emmanuel
Emmanuel - avatar