¿Por qué debo pegar el atributo "align" a la etiqueta <ul> para alinear toda la lista? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

¿Por qué debo pegar el atributo "align" a la etiqueta <ul> para alinear toda la lista?

Entiendo que, si quiero dejar una etiqueta con atributo debe haber un espacio entre ellas, pero si lo hago, por ejemplo <ul align="center"> sólo alinea la lista, pero no las viñetas, pero si lo dejo como <ulalign="center"> sí alinea la lista y viñetas juntas. No entiendo.

23rd Aug 2020, 2:48 AM
Yuli Tatiana Álvarez Bernal
Yuli Tatiana Álvarez Bernal - avatar
2 Answers
+ 5
May be you are asking about ul tags how can we change list style like in numbers, bullets circle see this example: Set the different list style types (with CSS): <ul style="list-style-type:circle">   <li>Coffee</li>   <li>Tea</li>   <li>Milk</li> </ul> <ul style="list-style-type:disc">   <li>Coffee</li>   <li>Tea</li>   <li>Milk</li> </ul> <ul style="list-style-type:square">   <li>Coffee</li>
23rd Aug 2020, 3:21 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 3
Can you please translate your Question in english language becoz here mostly peoples know english.its tough to understood your Question for our community.
23rd Aug 2020, 3:18 AM
A S Raghuvanshi
A S Raghuvanshi - avatar