how to make writings to align horizontally in html code example
Example 1: how to align elements horizontally in css
.row {
width: 100%;
display: flex;
flex-direction: row;
justify-content: center;
}
.block {
width: 100px;
}
Example 2: html align right
<p style="text-align:right;">Example</p>
Example 3: align centre
.headerTwoDiv{
margin:1% auto;
margin-right: auto; margin-left: auto; width: 21%;
padding-top: 11px;
}
Example 4: how to center text in html
<p><center>YourText</center></p>