+ 6

Can we change the color of bullets in html?

28th Nov 2018, 12:26 AM
Abhisheque Regmi
Abhisheque Regmi - avatar
6 Réponses
+ 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ɢ・ムzizi 🖤
K͜͡ɩnɢ・ムzizi 🖤 - 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