সম্পাদনা
<!DOCTYPE html> <html> <body> <button onclick="execute()">ফলাফল</button> <div id="box"> <p id="desc">প্রোগ্রামিং শিখে নিজের ক্যারিয়ার গড়ে তুলুন</p> </div> <script> function execute() { desc.insertAdjacentHTML( "beforebegin", "<p>প্রোগ্রামিং শিখুন</p>" ); } </script> </body> </html>
পূর্বরূপ