Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document </title> <style> span { display: block; } div.example, div.example > * { background-color: #9ba2a3; } </style> </head> <body> <div class="example"> <span>Paragraph 1</span> <span>Paragraph 2</span> <p> <span>Paragraph 3</span> </p> </div> <span>Paragraph 4</span> <span>Paragraph 5</span> </body> </html>