border

UK[ˈbɔ:də(r)] US[ˈbɔ:rdə(r)]

n.Border; edge; edging; wrapping Edge

vt.& vi. Bound with, on the edge of...

vt. Along the edge of, surround..., edge...

vi. Approximate, adjacent

Third person singular: borders Plural: borders Present participle: bordering Past tense: bordered Past participle: bordered

top

英[ tɒp] 美[tɑ:p]

n. Top, top; (box) cover, (book pages, etc.) upper column; chief; top

adj. The highest; top ; first-class; the largest

vt. form the top; reach the top of...; be at the forefront of...; leader

vi. Summary; transcend; tower; end

Third person singular: tops Plural: tops Present participle: topping Past tense: topped Past participle: topped

##color## English ['kʌlə(r)] US [ˈkʌlɚ ]

n.<Beauty>Color, color; skin color, complexion, blood color; pigment, dye; essence

v.<Beauty>To color... Color; whitewash, rendering, coloring; blush

Third person singular: colors Plural: colors Present participle: coloring Past tense: colored Past participle: colored

css border-top-color property syntax

Function:Set the color of the upper border of the element.

Note: Only solid colors can be defined, and the border may appear only when the border style is a value other than none or hidden.

Note: Always declare the border-style attribute before the border-color attribute. The element must get a border before you can change its color.

css border-top-color property example

<html>
<head>
<style type="text/css">
p 
{
border-style: solid;
border-top-color: #ff0000
}
</style>
</head>

<body>
<p>Some text.</p>
</body>

</html>

Run instance »

Click the "Run instance" button to view the online instance