Page 61      All Pages  All Books
Figure 3-6: The <h3> heading applied to the “The early years”
Horizontal Ruled Lines
Horizontal ruled lines can be used to break up sections of a web page. They’re not used as much as they once were — web design has moved on a little from the days when HTML was first developed. Nevertheless, within the context of MySpace, horizontal ruled lines can be used quite effectively to break up sections of text in a profile, as you can see in Figure 3-7.
Format
<hr width=”x” size=”n” noshade>
Here, x is the width in pixels or a percentage of the section it’s spanning, and n is the thickness of the line in pixels. The noshade attribute is used to turn off the line’s shading. There is no closing tag. When no attributes are defined, the horizontal line goes the full length of the area you’re working on.
Example
<h3>The early years</h3>
<p>Born into a family of circus performers, I spent many of my
formative years on the road. These years were tough, but they
taught me a lot about life, and the importance of family.</p>
<hr>
<p>My mother was a trapeze artist and my father was a well-known
clown. There were times when we didn’t have much money, but there
was always food on the table.</p>
Place the preceding code into the About Me section of your MySpace profile.
How It Will Look
Figure 3-7 shows how the horizontal ruled line appears in a MySpace profile. As I mentioned, the horizontal ruled line is a little old fashioned, but there may be occasions when you may want to use it to separate blocks of text.

Page 61      All Pages  All Books