CSS দিয়ে ব্যাকগ্রাউন্ড কালার সেট করতে background-color প্রোপার্টি ব্যবহার করুন।
উদাহরণ
এখন একটি উদাহরণ দেখি:
<!DOCTYPE html> <html> <head> <style> .demo { text-decoration: overline underline; background-color: red; } </style> </head> <body> <h1>Details</h1> <p class="demo">Examination Center near ABC College.</p> <p class="demo2">Exam begins at 9AM.</p> </body> </html>আউটপুট

উদাহরণ
আরেকটি উদাহরণ দেখি:
<!DOCTYPE html> <html> <head> <style> .demo { text-decoration: overline underline; } </style> </head> <body style="background-color: orange;color: white;"> <h1>Details</h1> <p class="demo">Examination Center near ABC College.</p> <p class="demo2">Exam begins at 9AM.</p> </body> </html>আউটপুট
