+ 6

Can we change the color of bullets in html?

28th Nov 2018, 12:26 AM
Abhisheque Regmi
Abhisheque Regmi - avatar
7 Answers
+ 18
Yes We Can. By Adding Style Color Attribute To <ul>!. e. g. <ul Style="color:blue;"> <li>...</li> </ul> Hope You Got It! Good Question! Good Luck!!!
29th Nov 2018, 10:45 AM
KĶœĶ”É©nÉ¢ćƒ»ļ¾‘ļ½šiļ½ši šŸ–¤
KĶœĶ”É©nÉ¢ćƒ»ļ¾‘ļ½šiļ½ši šŸ–¤ - avatar
+ 11
Do you think like this code? text is blue, bullets are red https://code.sololearn.com/WNTphvD9JDBw/?ref=app
7th Dec 2018, 5:44 PM
Š–ŠµŠ½ŠµŃ‡ŠŗŠ°
Š–ŠµŠ½ŠµŃ‡ŠŗŠ° - avatar
+ 5
Yes The following step āž”āž”āž”āž” Step : #1 <ul> <li style = "color: green; ">..</li> </ul> Step : #2 <!doctype html> <html> <style type="text/css"> li{ color : green; } </style> <head> </head> <body> <ul> <li>...</li> </ul> </body> </html>
29th Nov 2018, 4:01 PM
ź§ Mr. Skull ź§‚
ź§ Mr. Skull ź§‚ - avatar
+ 5
Use CSS li { list-style-type:circle ; list-style:block ; color:red; }
29th Nov 2018, 8:07 PM
BroFar
BroFar - avatar
+ 4
Real Watson Use CSS li { list-style-type:circle ; list-style:block ; color:green; }
7th Dec 2018, 2:40 PM
BroFar
BroFar - avatar
+ 1
green
7th Dec 2018, 2:16 PM
Real Watson
Real Watson - avatar