How to Align Justify HTML
By using the DIV tag when writing HyperText Markup Language (HTML) code, you can align text on your website by using justification. Justification refers to the type of alignment you find in most publications such as books or magazines. When displaying justified text, Web browsers stretch individual lines so that they appear aligned along a left and right margin. You can align text using justification in just a few steps.
Instructions
-
-
1
Open your favorite HTML or text editor, such as Notepad, and load the HTML file you wish to edit.
-
2
Place the following code before the text you wish to justify:
<div align="justify">
-
-
3
Place the following code after the text you wish to justify:
</div>
-
4
Save your HTML file and upload it to your Web server by using an FTP program or your hosting company's file manager interface.
-
1