align tag | Sololearn: Learn to code for FREE!


align tag

how do i align the next line to center after <br /> tag in <p> tag,check my codes with the name as help me

12/10/2017 7:24:27 AM

Samarth Arun Narula

5 Answers

New Answer


@s k I used CSS instead of inline style.



Try The div-tag: <div align=center>Your Text</div>


<p align=center>is also a text.<!-- how to align this to center?? --></p>


Is this what you're looking for? You can create classes for different Styles like p.bold and ...