HTML and CSS Reference
In-Depth Information
Name
border-top-style
Values:
none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset
Initial value:
none
Applies to:
All elements
Inherited:
No
Computed value:
Same as declared value
Description:
Defines the style for the top border of an element. The value must be something other than
none for any border to appear.
Examples:
ul {border-top-style: solid;}
h1 {border-top-style: dashed;}
Search WWH ::




Custom Search