Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS Margin</title> <style> p.padding { padding-top:35px; padding-right:10px; padding-bottom:75px; padding-left:55px; background:#11a286; color:#fff; } </style> </head> <body> <h1>This is heading.</h1> <p class="padding">This is a paragraph</p> <p>This is another paragraph</p> </body> </html>