Fonts 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>CSS Fonts</title>

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

    <style>

        p{

            font-family: cursive;

            font-size: 50px;

            line-height: 1.3em;

        }

        span{

            font-weight: bold;

            font-style: italic;

        }

    </style>

</head>

<body>

    <h4>CSS Fonts</h4>

    <p>Lets play with <span>Fonts.</span> It is very exciting</p>

</body>

</html>

Comments

Popular posts from this blog

Transform Property In CSS

More on CSS Selectors