Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> p.dotted { outline: 4px dotted gray; } p.dashed { outline: 0.2em dashed rgb(142, 191, 66); } p.solid { outline: 4px solid #ccc; } p.double { outline: 4px double #000; } p.groove { outline: 4px groove #666; } p.ridge { outline: thick ridge #1c87c9; } p.inset { outline: medium inset #1c87c9; } p.outset { outline: 4px outset #1c87c9; } </style> </head> <body> <h2>Outline property example</h2> <p class="dotted">Lorem Ipsum is simply dummy text of the printing...</p> <p class="dashed">Lorem Ipsum is simply dummy text of the printing...</p> <p class="solid">Lorem Ipsum is simply dummy text of the printing...</p> <p class="double">Lorem Ipsum is simply dummy text of the printing...</p> <p class="groove">Lorem Ipsum is simply dummy text of the printing...</p> <p class="ridge">Lorem Ipsum is simply dummy text of the printing...</p> <p class="inset">Lorem Ipsum is simply dummy text of the printing...</p> <p class="outset">Lorem Ipsum is simply dummy text of the printing...</p> </body> </html>