HTML Editor
<!DOCTYPE html> <html lang="en-US"> <head> <style> h2 + p{ color: red; } </style> </head> <body> <h1>CSS element + element Selector</h1> <h2>This is h2</h2> <p>I'm red</p> <p>I'm not</p> <h2>This is h2</h2> <p>I'm red</p> <p>I'm not</p> </body> </html>
OUTPUT
×

Save as Private