Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS border shorthand property</title> <style> p.one { border: 5px solid #ff0000; } p.two { color: blue; border: 5px solid; } p.three { border: 5px #00ff00; } </style> </head> <body> <p class="one">This is a paragraph.</p> <p class="two">The border color of this paragraph is same as the text color.</p> <p class="three">This paragraph has no border.</p> </body> </html>