The border property allows you to specify color, style, and width of lines in one property.
Example
You can try to run the following code to specify border property:
<html> <head> </head> <body> <p style = "border:3px solid green;"> This example is showing shorthand property for border. </p> </body> </html>