border-bottom

The border-bottom CSS property is a shorthand that sets the values of border-bottom-color, border-bottom-style, and border-bottom-width. These properties describe the bottom border of elements.

Values

<br-width>
<br-style>
<color>

Example

<!DOCTYPE HTML>
<html>
    <head>
        <title>CSS Tutorials</title>
        <style>
            .element1 {
                border-bottom: 1px solid #000;
            }
        </style>
    </head>
    <body>
        <p class="element1">
        abcdefghijklmnopqrstuvwxyz
    </body>
</html>