HTML & CSS Snippets
Name:Different Border Style
Description: Different border style you can use.
Code below...
<html> <head> <title>Title</title> <style type="text/css"> <!-- .dashed { border: 1px dashed #000000 } .solid { border: 1px solid #000000 } .dotted { border: 1px dotted #000000 } .groove { border: 1px groove #000000 } .ridge { border: 1px ridge #000000 } .inset { border: 1px inset #000000 } .outset { border: 1px outset #000000 } --> </style> </head> <body> <!-- Below are the border from the above order--> <div class="dashed">Hello</div><br/> <div class="solid">Hello</div><br/> <div class="dotted">Hello</div><br/> <div class="groove">Hello</div><br/> <div class="ridge">Hello</div><br/> <div class="inset">Hello</div><br/> <div class="outset">Hello</div> </body> </html>