Usage of border-top-width property in CSS

The border-top-width property changes the width of top border. You can try to run the following code to implement border-top-width property:

Example

<html>
   <head>
   </head>
   <body>
      <p style = "border-top-width:6px;border-style:solid;">
         This is demo content.
      </p>
   </body>
</html>
Updated on: 2020-02-03T06:13:15+05:30

61 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements