How to use CSS to define font color font family and font size in HTML

1 Answer

0 votes
<!DOCTYPE html>
<html>
    <head>
        <style>
            h1 {
                color: steelblue;
                font-family: Arial;
                font-size: 250%;
            }
        </style>
    </head>
    <body>

        <h1>Text text text</h1>

    </body>
</html>

 



answered Dec 6, 2018 by avibootz

Related questions

...