New course! Every coder should learn Generative AI!
Try a free lesson0
¿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.
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>
+ 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.