Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <style> p.color-one { border-style: solid; border-color: blue; } p.color-two { border-style: dotted; border-color: yellow; } p.color-three { border-style: solid; border-color: DarkBlue orange green red; } </style> </head> <body> <h2>The border-color Property</h2> <p class="color-one">Example with blue solid border-color.</p> <p class="color-two">Example with yellow dotted border-color.</p> <p class="color-three">Example with multicolor border-color.</p> </body> </html>