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: 5% 10% 10% 5%; } </style> </head> <body> <h2>Padding property example</h2> <p>Paragraph with background-color, color and padding properties.</p> </body> </html>