Leakbali
w3 Tutorial, Web Tutorial
Register   Login
Share

Text Alignment 


The text-align property specifies the horizontal alignment of text in an element:

Example:


<html>

<body>
<h1 style="text-align:center">This is a heading</h1>
<p>The heading above is aligned to the center of this page.</p>
</body>

</html>
The style attribute makes the old "align" attribute obsolete.
More Tutorial
  1. HTML - Styles
  2. HTML - The HTML Style Attribute
  3. HTML - Deprecated Tags and Attributes
  4. HTML - Background Color
  5. HTML - Font, Color and Size
  6. HTML - Text Alignment

References

About Us

Home
About Us
Contact Us
Sitemap

Tools

Google PageRank
Alexa Rank
Keywords Density

Accounts

Register Account
Login
Valid XHTML 1.0 TransitionalValid CSS!
Web Directory


2006 - 2012 © Leakbali.com - Free Web Tutorial, Free Web Articles, Web Sharing, Source Codes, Web References