Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Usage of border-top-color property in CSS
The border-top-color property changes the color of the top border.
Example
You can try to run the following code to implement the border-top-color property:
<html>
<head>
<style>
p.demo {
border:3px solid;
border-top-color:#FF0000;
}
</style>
</head>
<body>
<p class = "demo">
Asia is a continent.
</p>
</body>
</html> Advertisements
