How to Right Align Text Using HTML
Writing HTML can be a tedious experience, but with a little help, you will soon find you can easily reap the rewards of HTML fluency. Use right-aligned text to create a cleaner, more professional feel to your website.
Instructions
-
-
1
Type the following code directly before the section of text that you want right-aligned: <P Align=Right>Text Goes Here</P Align=Right>
-
2
Type <IMG SRC=picture.bmp align=right> to right-align a picture. To cause text to stop wrapping around an image, use <BR CLEAR=ALL>.
-
-
3
Preview your website. Be sure that you have made no typing errors and that all of your code is closed (via </>). HTML is a powerful programming language, but it can be very picky. One letter in the wrong place can completely change how your computer will interpret the code.
-
1
Tips & Warnings
Make sure your syntax is correct. Use < > to start and </> to end. To align text left, simply change <align=right> to <align=left>.