border-color-top (attribute of Template Tag)


Description


This attribute defines a color of the top border of an element.

A color of the top border may be coded as a Well-known color name or a Hexagonal (web) color.


The examples of coding the color of the top border:

Type of coding

Code

Comment

Well-known color name

border-color-top="red"

color of the top border will be red

Hexagonal (web) color

border-color-top="#FF0000"

color of the top border will be red


The color names correspond to those on the website https://www.w3schools.com/colors/colors_names.asp

When fetching data from a style file or a template file, the border-color attribute is converted to detailed attributes: border-color-left, border-color-top, border-color-right and border-color-bottom.