eHow launches Android app: Get the best of eHow on the go.

How to Align Text in a Web Page

Video Preview

Summary: Using HTML tags, text may be aligned to the right, left, center or inside columns and tables on a Web page. Align text when creating a Web site with tips from a software developer in this free video on Web design and the Internet.

Views:
903
Presenter
By Luis Estrada
eHow Presenter

Luis Estrada has a Bachelor's degree in Computer Science. He specializes in developing web sites and web applications. Estrada has been designing and creating websites for more than 8...read more

Post a Comment

Post a Comment

Video Transcript

"Hello, my name is Luis Estrada, and I am a software developer. In this video, I will show you how to align text in a web page. Now, that we have our basic HTML tags in place, let's save our file, and open our page with a web browser.In your text editor, click on File, Save As, and type the name of the file, as Align.HTML. You should use double quotation marks to enclose the file name. The procedure is very similar, no matter what web browser you are using. In this case, I will use Mozilla Firefox. Click on File, Open File, or simply type Ctrl O on Windows, or Command O on the Mac, and browse to the location where you saved your HTML file. As you can see, there is nothing on the page. Let's add some text to it, and save it. Now, there are many ways that you can align text on the page. You can align text to the right, left, center, or inside columns and tables, which we will explain later. You need to use HTML tags, to tell the browser which part of the text to align. In this case, the element content is the text to be formatted. Let's write a new opening tag called center, and a closing center tag. Save the file again. Now, refresh your browser by clicking on the arrow, next to the address bar. Now, you can see the changes applied. For this case, let's define three different paragraphs of text, so you can see the difference between each of the aligned tags. In order to align each paragraph, write the word align equals, and use double quotation marks. The first paragraph will go on the left. The second paragraph will go on the right, and the third paragraph will remain in the center. Now, save the file again. Go back to your browser, and click on the Refresh arrow. I'm Luis Estrada, and I've just shown you how to create web pages, using HTML."

eHow Article: How to Align Text in a Web Page

Related Ads

  • Have you done this? Click here to let us know.
Internet
Virginia DeBolt,

Meet Virginia DeBolt eHow's Internet Expert.

Get Free Internet Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

Demand Media
eHow_eHow Technology and Electronics