All border styles : border style « CSS « HTML / CSS






All border styles

  

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  <html>
    <head>
      <title></title>
      <style type='text/css'>
        div {
          padding: 10px;
          margin: 10px;
          border: thick black;
        }
      </style>
    </head>
    <body>
      <div style='border-style: hidden;'>
          border-style: hidden;
      </div>
      <div style='border-style: dotted;'>
          border-style: dotted;
      </div>
      <div style='border-style: dashed;'>
          border-style: dashed;
      </div>
      <div style='border-style: solid;'>
          border-style: solid;
      </div>
      <div style='border-style: double;'>
          border-style: double;
      </div>
      <div style='border-style: groove;'>
          border-style: groove;
      </div>
      <div style='border-style: ridge;'>
          border-style: ridge;
      </div>
      <div style='border-style: inset;'>
          border-style: inset;
      </div>
      <div style='border-style: outset;'>
          border-style: outset;
      </div>
      <div style='border-style: none;'>
          border-style: none;
      </div>
    </body>
  </html>

   
  








Related examples in the same category

1.The border-style Property
2.'border-style' Example
3.Border style all values
4.border style shorthand with three values
5.border-style: solid dotted;
6.border style shorthand with two values
7.border-style: hidden
8.border-style: dotted
9.border-style: dashed
10.border-style: solid
11.border-style: groove
12.border-style: ridge
13.border-style: inset
14.border-style: outset
15.border-style: none
16.border-style: solid dashed double dotted;
17.border-style: solid dashed dotted;
18.border-style: solid dashed double inset;
19.border-style: solid; border-width: 5px;
20.border-style: double; border-width: medium;
21.border-style: hidden;
22.border-style: double
23.border-style: none
24.border-style: solid dashed double dotted
25.Various border-styles
26.When no border-color is specified, the border color is the value of the color property.
27.Individual border-style properties can be combined into a single property.
28.Shading border for paragraph
29.Use different border style to highlight
30.Border styles, color and size