<html> <head> <title>The jQuery Example</title> <script type = "text/javascript" src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"> </script> <script> $(document).ready(function(){ $("p").find("span").end().css("border", "5px blue solid"); }); </script> <style> p{ margin:100px; padding:100px; } </style> </head> <body> <p><span>Hello</span>, how are you?</p> </body> </html>
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more