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
Set the color of the border with CSS
The border-color property specifies the color of a border. You can try to run the following code to implement the border-color property:
Example
<html>
<head>
<style>
p.demo {
border:2px dashed;
border-color:#800000;
}
</style>
</head>
<body>
<p class = "demo">
David Beckham is a legend.
</p>
</body>
</html> Advertisements
