Different Worlds: An Introduction to HTML

Appendix A: Example Files

FILE11.HTML : Paragraph alignments

Copy and paste, or type, the HTML code shown below into your text editor, and save it as "file11.html":

<html>
<head>
<title>(file11.html) Paragraph alignments</title>
</head>
<body bgcolor="#ffffff" text="#000080">
<p align="left">This paragraph is left aligned. This paragraph is left aligned. This paragraph is left aligned. This paragraph is left aligned. This paragraph is left aligned.</p>
<p align="center">This paragraph is centre aligned. This paragraph is centre aligned. This paragraph is centre aligned. This paragraph is centre aligned. This paragraph is centre aligned.</p>
<p align="right">This paragraph is right aligned. This paragraph is right aligned. This paragraph is right aligned. This paragraph is right aligned. This paragraph is right aligned.</p>
<p align="justify">This paragraph is justified. This paragraph is justified. This paragraph is justified. This paragraph is justified. This paragraph is justified.</p>
</body>
</html>

Alternatively, this link leads to a copy of this file, already created for you.

Return to the tutorial or return to the list of example files.


Valid HTML 4.01

http://www.users.zetnet.co.uk/dms/htmlguide/app-a11.html
© 1998-2001 Donna Smillie <dms@zetnet.co.uk>