CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS border property




CSS border property allow to set in shorthand all border properties style of an elements.


Property Values


Properties Value Description
Syntax border:value;
value   border-width
  border-style
  border-color
  inherit
Allow to All Elements
Inherited No

Example-Code:

<p style="border-style:double;border-width:4px;border-color:
orange;">This Paragraph is example of the border propertiesof CSS 
style can change a border color, border width or border style.</p> 
Online Try This Code Your Self....   »

Example-Result:

This Paragraph is example of the border propertiesof CSS style can change a border color, border width or border style.