To set the outline style as a groove, use the outline-style property with the value groove. Under groove, the outline looks as though it is carved into the page.−
Example
<html> <head> </head> <body> <p style = "outline-width:3px;outline-style:groove;"> This text is having 3px groove outline. </p> </body> </html>