How to use CSS to define border style border size and border color around HTML element

1 Answer

0 votes
<!DOCTYPE html>
<html>
    <head>
        <style>
            h1 {
                border: 1px solid lightgreen;
            }
        </style>
    </head>
    <body>

        <h1>Text text text</h1>

    </body>
</html>

 



answered Dec 6, 2018 by avibootz
...