HTML CSS examples for CSS:Quiz
Set the opacity for the background color of the <h1> element to "0.3" by using a HSLA color instead of HSL.
<!DOCTYPE html> <html> <head> <style> h1 {<!-- w w w. j av a 2s.com--> background-color: hsla(0,100%,50%,0.3); } </style> </head> <body> <h1>This is a Heading</h1> <p>This is a paragraph.</p> <p>This is another paragraph.</p> </body> </html>