0

how to align inline text

how to align a text in a sentence for example <p>This is a TEST</p> i want to align "This is a" in 'LEFT' and "TEST" in 'CENTER' how can i do that ?

12th Dec 2017, 8:38 PM
Muhammed Hussain
Muhammed Hussain - avatar
2 ответов
+ 5
<p>This is a<span align=center>Test</span></p>
12th Dec 2017, 11:13 PM
Amethyst Animion
Amethyst Animion - avatar
0
Use <span>. <p><span class=left>This is a</span><span class=center>TEST</span></p> Then, style those classes.
12th Dec 2017, 9:27 PM
John Wells
John Wells - avatar