The set border that looks as though it is carved into the page


Use the border-style property with groove value to set a border as carved into the page. 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:groove;">
         This is a border carved into the page.
      </p>
   </body>
</html>

Samual Sam
Samual Sam

Learning faster. Every day.

Updated on: 03-Feb-2020

64 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements