Prev Demo
CSS3
>
Adjacent Sibling
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <style> div + p { background-color: lightblue; } </style> <div> <p>DotNetFundacom is the best website for .NET Learning.</p> <p>ITFunda is the best website for providing the eBooks .</p> </div> <p>SNIT offering .NET Offline & Online Training in Hyderabad.</p> <p>SNIT providing training at reasonable cost.</p> </body> </html>
Note: We DO NOT save your trial code in our database.
Output