Skip to content
doubtly

1 answer

Basically, if you want to align your text using HTML, then you need to use css and follow the proper process:

div.a {
  text-align: center;
}
 
div.b {
  text-align: left;
}
 
div.c {
  text-align: right;
}
 
div.c {
  text-align: justify;
}

The text-align property discusses the horizontal alignment of text in an element.

codelikepro · 19 Aug 2022 Report
Was this answer helpful?

Your answer

Log in or create a free account to answer this question.