Tryit Editor v1.8

Source Code:
<!DOCTYPE html> <html> <head> <script src="../../ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> </script> <script> $(document).ready(function(){ $("p").not(".intro,#outro").css("background-color","yellow"); }); </script> </head> <body> <h1>Welcome to My Homepage</h1> <p>My name is Donald.</p> <p class="intro">I live in Duckburg.</p> <p id="outro">I love Duckburg.</p> <p>My best friend is Mickey.</p> </body> </html>
Result:
W3Schools.com - Try it yourself