| Syntax | none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset | initial | inherit |
| Initial value | none |
| Applies to | all elements |
| Inheritance | false |
| Type of computed value | UINT |
| Functions |
element::setBorderTopStyle() element::getBorderTopStyleStr() element::getBorderTopStyle() |
| none | Keyword. |
| hidden | Keyword. |
| dotted | Keyword. |
| dashed | Keyword. |
| solid | Keyword. |
| double | Keyword. |
| groove | Keyword. |
| ridge | Keyword. |
| inset | Keyword. |
| outset | Keyword. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |