Set outline style as a solid single line with CSS

To set the outline style as a solid single line, use the outline-style property with the value solid

Example

<html>
   <head>
   </head>
   <body>
      <p style = "outline-width:3px;outline-style:solid;">
         This text is having 3px solid outline.
      </p>
   </body>
</html>
Updated on: 2020-03-04T11:28:59+05:30

109 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements