Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> .p1 { outline-style: solid; } .p2 { outline-style: dashed; } .p3 { outline-style: dotted; } .p4 { outline-style: double; } .p5 { outline-style: none;/*hidden*/ } .p6 { outline-style: groove; outline-color: #ccc; } .p7 { outline-style: ridge; outline-color: #ccc; } .p8 { outline-style: inset; outline-color: #ccc; } .p9 { outline-style: outset; outline-color: #ccc; } </style> </head> <body> <h2>Outline property example</h2> <p class="p1">This is a paragraph with outline set to solid.</p> <p class="p2">This is a paragraph with outline set to dashed.</p> <p class="p3">This is a paragraph with outline set to dotted.</p> <p class="p4">This is a paragraph with outline set to double.</p> <p class="p5">This is a paragraph with outline set to none.</p> <p class="p6">This is a paragraph with outline set to groove.</p> <p class="p7">This is a paragraph with outline set to ridge.</p> <p class="p8">This is a paragraph with outline set to inset.</p> <p class="p9">This is a paragraph with outline set to outset.</p> </body> </html>