Set outline style as a dotted line with CSS



To set the outline style as a dotted line, use the outline-style property with the value dotted − 

Example

<html>
   <head>
   </head>
   <body>
      <p style = "outline-width:7px;outline-style:dotted;">
         This text is having 7px dotted outline.
      </p>
   </body>
</html>
Updated on: 2020-03-04T11:13:44+05:30

218 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements