Computer >> Computer tutorials >  >> Programming >> CSS

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>