Appearance:
border-top: <value>
Possible Values:
<border-top-width> || <border-style> || <colour>
Initial Value:
Not defined
Applies to:
All elements
Inherited:
No

The border-top property is a shorthand for setting the width, style, and color of an element's top border.

Note: that only one border-style value may be given.

One may also use the border shorthand property.

Example:

border-top example
style="border-top: thick solid red"