Computer Science, asked by shobha855sj, 3 months ago

how will you centralise a text? (give an example)​

Answers

Answered by nikkiaadi
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
shobha855sj: good byy
nikkiaadi: BYE
shobha855sj: ha ha byy
nikkiaadi: bye
shobha855sj: :( byy
nikkiaadi: :) : ) : ) bye
shobha855sj: :) byy
nikkiaadi: u going?
nikkiaadi: hi sanika
Similar questions