CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS border-top property

CSS border-top property allow to set all type style(like border-style, border-color, border-width etc..) of an elements.

Property Values

Properties Value Description
Syntax border-top:value;
value   border-width
Allow to All elements
Inherited No


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


border-top color is orange.