Simple Formatting Tools
This page employs a number of simple formatting tools that you may find useful.
Both the banner graphic and the title are centered on the page using the <center> tag.
The line between them is created using the tag <hr width=468 align=center>.
The tag for the picture of the car is <img src="./gfx/beetle.gif" width=240 height=140 border=0 alt="Beetle" align=right>. From Lesson 4 you should recognize everything except align=right. This tells the browser to display the image on the right side of the page and to flow the text around it. In the source code, the <img src=...> tag comes before most of the text for this paragraph.
If you view the source of this page you will see the <img src=...> tag just below a tag that reads <!The next line places the picture on the right>. The <!...> tag contains a comment and is ignored by the browser. You may find it useful to have comments in your HTML documents if you ever need to go back and change them. If you even suspect someone else may need to maintain your documents, you should comment anything even slightly tricky.
To format indented text (like this) you will need to use a <blockquote> tag. The tag stays in effect after either or both the <br> and/or the <p> tags, as shown by the next paragraphThe menu items below are centered on the page using a <p align=center> tag. The copyright notice uses a <p align=right> tag.
© Geo. McCalip 2001