fonts in css and web base fonts

technical talkiess
0

1) inbuld fonts use in css 

2) google fonts use in css 



 <!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Fonts in css </title>

    <!-- web fonts include the folowing links here -->

    <link rel="preconnect" href="https://fonts.googleapis.com">

<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap" rel="stylesheet">



    <style>

        p{

            /* inbuild form websafe form  */

            font-family: 'Courier New', Courier, monospace; 

            line-height: 1.4em;


        }


        span{

            font-weight: bold;

            /* web base font here */

            font-family: 'Poppins', 'Arial Narrow', Arial, sans-serif;

        }

    </style>

</head>

<body>

    <h3>Vishal usrate fonts tutorial</h3>

    <p>Lorem ipsum <span>dolor</span> sit amet.</p>

</body>

</html>

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)