সম্পাদনা
<!DOCTYPE html> <html> <body> <button onclick="execute()">ক্লিক করুন</button> <ul> <li>পিএইচপি</li> <li>জাভা</li> <li>পাইথন</li> <li>জাভাস্ক্রিপ্ট</li> </ul> <script> function execute() { document.querySelectorAll("*").forEach(function(element) { element.style.color = "red"; }); } </script> </body> </html>
পূর্বরূপ