Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS border-top-width property</title> <style> p { border-style: solid; border-top-width: 15px; } </style> </head> <body> <p><strong>Note:</strong> You must declare the "border-style" property before the "border-top-width" property. An element must have borders before you can set the width of the border.</p> </body> </html>