<!DOCTYPE html> <html> <head> <script src="/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script> $(document).ready(function(){ $("button").click(function(){ $("<span><b>Hello lidihuo.com</b></span>").appendTo("p"); }); }); </script> </head> <body> <button>Add new content at the end of each p element</button> <p>I am a new reader.</p> <p>I am also a new reader.</p> </body> </html>