Edit This Code:
See Result »
<!DOCTYPE html> <html> <head> <style> p { border: 1px solid grey; padding: 10px; } </style> </head> <body> <h1>This is a heading</h1> <p>This is a paragraph.</p> <p>This is a paragraph.</p> <p>This is a paragraph.</p> </body> <!-- Mirrored from www.w3schools.com/html/tryit.asp?filename=tryhtml_css_padding by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 13 Mar 2016 11:02:53 GMT --> </html>
Result: