HTML Editor
<!DOCTYPE html> <html lang="en-US"> <head> <style> div *{ color: red; } </style> </head> <body> <h1>CSS * Selector</h1> <p>I will not be affected</p> <div> <h2>I'm red</h2> <p>I'm red</p> </div> <p><strong>Note</strong>: In this example, all the content inside div will be red.</p> </body> </html>
OUTPUT
×

Save as Private