Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> div * { background-color: #8ebf42; } </style> </head> <body> <h2>* selector example</h2> <div class="example"> <p id="example1">Lorem ipsum is simply dummy text...</p> <span id="example2">Lorem ipsum is simply dummy text...</span> </div> <p>Lorem ipsum is simply dummy text...</p> </body> </html>