Use the text-align property to set the text alignment. You can define the text to be aligned center, left, or right.
Welcome to Bucaro TecHelp!

Welcome to Bucaro TecHelp!
Maintain Your Computer and Use it More Effectively
to Design a Web Site and Make Money on the Web

About Bucaro TecHelp About BTH User Agreement User Agreement Privacy Policy Privacy Site Map Site Map Contact Bucaro TecHelp Contact Advertise on Bucaro TecHelp Advertise Here RSS News Feeds News Feeds

HTML5 Solutions: Essential Techniques for HTML5 Developers

Essential Techniques for HTML5 Developers

HTML5 brings the biggest changes to HTML in years. Web designers now have new techniques, from displaying video and audio natively in HTML, to creating realtime graphics on a web page without a plugin.

This book provides a collection of solutions to all of the most common HTML5 problems. Every solution contains sample code that is production-ready and can be applied to any project.

Click Here

Set the Text Alignment

Use the text-align property to set the text alignment. You can define the text to be aligned center, left, or right.

<p style="text-align:left;">Text aligned left</p>

Text aligned left

<p style="text-align:right;">Text aligned right</p>

Text aligned right

<p style="text-align:center;">Text centered</p>

Text centered

the text-align property gives you limited control of text position, if you want more exact control, use the margin-left or margin-right property. The example below aligns the text 100 pixels from the left.

<p style="margin-left:100px;">Text 100 pixels from left</p>

Text 100 pixels from left

RSS Feed RSS Feed



Web Design Sections

HTML5 and CSS3 Quick Reference

This book is an essential technical dictionary for professional web designers and developers, conveniently summarizing over 3000 pages of (X)HTML5 and CSS3 specifications and covering the most common and fundamental concepts and specs, including tags, attributes, values, objects, properties, methods, events, and APIs.

Web Designer Manu Gautrand says,"It's easy to find what you are looking for and most tags⁄properties have good code examples and specify in what browser versions the tag is supported. Click here for more information.

[Site User Agreement] [Advertise on This site] [Search This Site] [Contact Form]
Copyright©2001-2013 Bucaro TecHelp 13771 N Fountain Hills Blvd Suite 114-248 Fountain Hills, AZ 85268