<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>CSS Padding for Individual Sides</title> <style> h1 { padding-top: 40px; padding-bottom: 110px; background: purple; } p { padding-left: 80px; padding-right: 75px; background: pink; } </style> </head> <body> <h1>This is a Main Paragraph.. </h1> <p>This is a next paragraph of text.</p> <p><strong>Note:</strong>This is a last paragraph..</p> </body> </html>