HTML Cheat Sheet
HTML Help Forum
Link to us
How to do it
To align your text to the right side of a page, you first have to wrap your text in paragraph tag's. So, first, place a <P> tag (by the way stands for paragraph, obviously) in front of the text you want to align. Then at the end of the line of text you want to align, place an ending </P> tag. Note the / in the ending tag, this tells the browser to stop aligning the text. This is important to add, or else the browser wont know where to stop aligning, and align all the text after the beginning <P> tag to the left. Get it? Good!
Next, in your beginning <P> tag, add align=right
I want to make the words "John's Home Page" align to the right side of my web page.
My code would look like this:
<P align=right>John's Home Page</P>
Seeing this in the browser will look like this:
John's Home Page
NOTE: You can also center your text the same way, just replace right with center.