<!DOCTYPE html> <html> <head> <script src="/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script> $(document).ready(function(){ $("button").click(function(){ $("p").clone().appendTo("body"); }); }); </script> </head> <body> <p><b> lidihuo.com is a popular tutorial website.</b></p> <p><b>lidihuo.com is a training institute also.</b></p> <button>Click here, to clone all p elements, and append them to the body element</button> </body> </html>