CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS border-style property

CSS border-style property use to set a border style like Solid border, double border, dotted border etc.

Property Values

Properties Value Description
Syntax border-style:value;
value   none (Not Display)
Allow to All elements
Inherited Yes


<p style="border-style:dashed; border-width:2px; border-color:orange">
border style is dashed.</p>
Online Try This Code Your Self....   »


border style is dashed.