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