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(){ $("h2,div,span").css("background-color","yellow"); }); </script> </head> <body> <h1>Welcome to My Web Page</h1> <h2>Nice to meet you</h2> <div>Very nice indeed.</div> <p>How are you?</p> <p>I'm fine, <span>thanks.</span></p> </body> </html>
Result:
W3Schools.com - Try it yourself