সম্পাদনা
<!DOCTYPE html> <html> <body> <div id="box"> <p>হ্যালো বিশ্ব</p> </div> <button onclick="execute()">যোগ</button> <script> function execute() { for (let i = 0; i < collection.length; i++) { text += collection[i].tagName + "<br>"; } } </script> </body> </html>
পূর্বরূপ