0

How do I center align text in HTML5?

1st May 2020, 2:40 PM
Lukas
Lukas  - avatar
3 Réponses
+ 5
text-align:center Use this using CSS
1st May 2020, 2:41 PM
A͢J
A͢J - avatar
+ 2
display: block; /* this is needed to ensure element in block display */ text-align: center;
1st May 2020, 3:19 PM
Calviղ
Calviղ - avatar