<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>Paragraph Alignment Example</title>
</head>
<body>

<p>This is the first paragraph in the example about the P tag. There really isn't much to say here.</p>

<p align="center">
This is the second paragraph. Again, more of the same. This time the paragraph is aligned to the center. This might not be such a good idea as it often makes the text hard to read.</p>

<p align="right">
Here the paragraph is aligned to the right. Right aligned text is also troublesome to read. The rest of the text of this paragraph is of little importance.</p>

<p align="justify">
Under HTML 4.0 compliant browsers, you are able to justify text. As you may notice, the way browsers tend to justify text is sometimes imprecise. Furthermore, some older browsers do not support this attribute value.</p>

</body>

</html>

CLOSE WINDOW | VIEW RENDERED PAGE