সম্পাদনা
<!DOCTYPE html> <html> <head> <style> li:nth-of-type(odd) { background-color: tomato; } li:nth-of-type(even) { background-color: orange; } </style> </head> <body> <ul> <li>পিএইচপি</li> <li>জাভা</li> <li>পাইথন</li> <li>জাভাস্ক্রিপ্ট</li> </ul> </body> </html>
পূর্বরূপ