html text left align code example
Example 1: html align text left
<p style="text-align: left;"> Left alignment </p>
Example 2: css text align right
body {
text-align: right;
}
Example 3: what are the different text align in html
/* There are four different text align values: left, right, center
and justify. For example: */
text-align: center;