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

Set Inset border with CSS


To set inset border with CSS, use the border-style property with value inset.

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:inset;">
         This is inset border.
      </p>
   </body>
</html>