Align text to left

Sample Code

<!DOCTYPE html>
<html>
<body>

<h1 style="text-align:left;">Welcome to Wikitechy</h1>
<p style="text-align:left;">Hi this is Venkat .</p>

</body>
</html>

Output

Align text to Right

 Sample Code

<!DOCTYPE html>
<html>
<body>

<h1 style="text-align:right;">Welcome to Wikitechy</h1>
<p style="text-align:right;">Hi this is Venkat .</p>

</body>
</html>

Output

Align text to Center

Sample Code

<!DOCTYPE html>
<html>
<body>

<h1 style="text-align:center;">Welcome to Wikitechy</h1>
<p style="text-align: center;">Hi this is Venkat .</p>

</body>
</html>

Output

Categorized in:

HTML

Tagged in:

, , , , , , , , , ,

Share Article:

Leave a Reply

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
Best Wordpress Adblock Detecting Plugin | CHP Adblock