Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> p { background-color: #1c87c9; color: #fff; padding: 15px 30px 20px 40px; } </style> </head> <body> <h2>Padding property example</h2> <p>Paragraph with background-color, color and padding properties.</p> </body> </html>