CSS
Cascading Style Sheet
This property sets the horizontal alignment of a text.A text can be left or right, center, and justify.
Example
<html>
<head>
<title>Skillpundit</title>
<style type="text/css"> .text1
{
text-align: right;
}
.text2
{
text-align: center;
}
.text3
{
text-align: justify;
}
</style> </head>
<body>
<p class="text1">www.skillpundit.com</p>
<p class="text2">www.skillpundit.com</p>
<p class="text3">The idea of competition, particularly in a creative atmosphere, is always there; if you don't acknowledge that, you are doing yourself and the process a disservice.Holds in these matters to this principle of selection the rejects pleasures other greater pleasures, or else he endures pains obligations of business it will frequently occur that pleasures have to be repudiated.</p> </body> </html>
<head>
<title>Skillpundit</title>
<style type="text/css"> .text1
{
text-align: right;
}
.text2
{
text-align: center;
}
.text3
{
text-align: justify;
}
</style> </head>
<body>
<p class="text1">www.skillpundit.com</p>
<p class="text2">www.skillpundit.com</p>
<p class="text3">The idea of competition, particularly in a creative atmosphere, is always there; if you don't acknowledge that, you are doing yourself and the process a disservice.Holds in these matters to this principle of selection the rejects pleasures other greater pleasures, or else he endures pains obligations of business it will frequently occur that pleasures have to be repudiated.</p> </body> </html>
Output
www.skillpundit.com
www.skillpundit.com
The idea of competition, particularly in a creative atmosphere, is always there; if you don't acknowledge that, you are doing yourself and the process a disservice.Holds in these matters to this principle of selection the rejects pleasures other greater pleasures, or else he endures pains obligations of business it will frequently occur that pleasures have to be repudiated.