Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS background-color property</title> <style> body { background-color: yellow; } h1 { background-color: rgb(255,0,0); } p { background-color: #00ff00; } </style> </head> <body> <h1>This is a heading.</h1> <p>This is a paragraph.</p> </body> </html>