Thuộc tính border-top-color thay đổi màu của viền trên. Bạn có thể chạy mã sau để thực hiện thuộc tính border-top-color:
Ví dụ
<html> <head> <style> p.demo { border:3px solid; border-top-color:#FF0000; } </style> </head> <body> <p class = "demo"> Ví dụ minh họa thuộc tính border-top-color </p> </body> </html>