Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/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>