change font h1 css code example
Example 1: h2 custom font family html css
body {
font-family: 'Roboto', sans-serif;
}
Example 2: h2 custom font family html css
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto&display=swap">