সম্পাদনা
<!DOCTYPE html> <html> <head> <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script> <script> $(document).ready(function(){ $("button").click(function(){ $("<h1>প্রোগ্রামিং শিখুন</h1>").replaceAll("p"); }); }); </script> </head> <body> <button>রিপ্লেস</button> <p>হ্যালো বিশ্ব</p> <p>হ্যালো বিশ্ব</p> </body> </html>
পূর্বরূপ