Get Started with the Google Fonts API

PHOTO EMBED

Sat Dec 14 2024 02:27:34 GMT+0000 (Coordinated Universal Time)

Saved by @mohsenkoushki #css ##typography ##api

<html>
  <head>
    <meta charset="utf-8">
    <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>
content_copyCOPY

This guide explains how to use the Google Fonts API to add fonts to your web pages. You don't need to do any programming; all you have to do is add a special stylesheet link to your HTML document, then refer to the font in a CSS style.

https://developers.google.com/fonts/docs/getting_started