The border-top-style property changes the style of top border.
Example
You can try to run the following property to change the style of the top border:
<html> <head> </head> <body> <p style = "border-width:2px; border-top-style:solid;"> Example showing top border </p> </body> </html>