By using border-bottom
property we can set the style to the bottom border.
<style> p { border-style:solid; border-bottom: brown dotted thick; } div { border-style:solid; border-bottom: green dashed thin; } </style> <body> <p> TechFunda.com </p> <div> DotNetFunda.com </div> </body>
In the above code snippet we have given two different styles to the border-bottom
property, so that in the output we can notice the different border-bottom for the <p>
element and <div>
element.
OUTPUT
Views: 3082 | Post Order: 74