Set a border between two lines with CSS

JavascriptWeb DevelopmentFront End Scripts

Use the border-style property with double value to set a border with two lines. You can try to run the following code to implement border-style property:

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:double;">
         This is a border with two solid lines.
      </p>
   </body>
</html>
raja
Published on 17-Apr-2018 12:45:17
Advertisements