how will you centralise a text? (give an example)
Answers
Answered by
1
Answer:
If you only have one or a few blocks of text to center, add the style attribute to the element's opening tag and use the "text-align" property. In the example below, we've added them to the <p> tag. Notice that the value of the property "text-align" is set to "center" to indicate the element is to be centered
shobha855sj:
byyy
Similar questions