How to use Google Fonts on your web page?
https://www.tutorialspoint.com/how-to-use-google-fonts-on-your-web-page
-
13-09-2020 - |
Pregunta
How to use Google Fonts on your web page?
To use Google Fonts on your webpage, the code is as follows −
Example
<!DOCTYPE html> <html> <head> <link href="https://fonts.googleapis.com/css?family=Permanent+Marker&display=swap" rel="stylesheet"/> <style> body { font-family: "Permanent Marker", cursive; font-size: 22px; } </style> </head> <body> <h1>Google fonts example</h1> <p> Lorem ipsum dolor sit amet consectetur, adipisicing elit. Debitis non a quos repudiandae doloribus cumque! Ex rem rerum aut maiores. </p> <h2>1 2 3 4 5 6 7 8 9 10</h2> </body> </html>
Output
The above code will produce the following output −
Advertisements
No afiliado a Tutorialspoint