How to set the style of the bottom border with JavaScript?

To set the style of the bottom border, use the JavaScript borderBottomStyle property. It allows you to add a bottom border.

Example

You can try to run the following code to set the style of the bottom border −


   
      
Demo Text

Updated on: 2020-06-23T11:13:22+05:30

407 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements