In html how can an alignment of a text be changed without going for tags <H1> - <H6> and <p> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

In html how can an alignment of a text be changed without going for tags <H1> - <H6> and <p>

20th Jun 2016, 2:46 AM
Priyadarshika Saha
Priyadarshika Saha - avatar
3 Answers
+ 1
For centering use <center>text here</center>
20th Jun 2016, 4:45 AM
shaun khulani
shaun khulani - avatar
+ 1
What kind of html page is this if you want to avoid using html markup? If the text wont have any tags at all, then the only option left to control it's appearance is adding style to <body> like this: body { text-align:center } You'll have very limited control then.
20th Jun 2016, 10:57 AM
ZinC
ZinC - avatar
- 2
<hi>
20th Jun 2016, 4:16 AM
Hafez Hosseini
Hafez Hosseini - avatar