# Set the color of the border with CSS

JavascriptWeb DevelopmentFront End Scripts

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>
<style>
p.demo {
border:2px dashed;
border-color:#800000;
}
</style>
</html>