Computer >> Computer tutorials >  >> Programming >> Javascript

Usage of border-style property in CSS


Use the border-style property to set the style of the border:

Example

<html>
   <head>
   </head>
   <body>.
      <p style = "border-width:4px; border-style:none;">
         This is a border with none width.
      </p>
      <p style = "border-width:4px; border-style:solid;">
         This is a solid border.
   </body>
</html>