right alignment in html code example
Example 1: html h1 left align
<h1 style="text-align:center">Titulo 1</h1>
<h2 style="text-align:left">Titulo 2</h2>
<h3 style="text-align:right">Titulo 3</h3>
<h4 style="text-align:justify">Titulo 4</h4>
<p>...</p>
Example 2: how to align text in html
<!-- Code by Scratchy -->
<!-- Twitter: @S_cratchy-->
<!-- Solution 1 -->
<p>
This is some cool text in html, wow such cool text
</p>
<!-- Solution 2 -->
<font style="text-align:right;"> This text is on the right</font>
<font style="text-align:center;"> This text is in the center</font>
<font style="text-align:left;"> This text is on the left</font>
Example 3: html text alignment
<p style="text-align: left;"> Left alignment </p>
<p style="text-align: right;"> Right alignment </p>
<p style="text-align: center;"> Center Align </p>
<p style="text-align: justify;"> Justify to width </p>
Example 4: html align right
<p style="text-align:right;">Example</p>
Example 5: text-align attribute in css
text-align:inherit;