A horizontal rule is a line placed in your document to
divide the sections.
places a line wherever you put the tag in the
document.
You can change the attributes of the horizontal line by
adding a statement to the
tag as we did with the
alignment statements.
This will tell how thick the line is.
This tells the exact width in
pixels or what percent of the document width you want the
line to be.
This tells where
you want the line placed on the page. Note: you can only
align a horizontal rule when you are using the WIDTH
statement. Otherwise there will be no apparent change
in your document.
Assignment 7
Open the assignment from lesson 6 and add a horizontal
rule between the two rhymes. Check this in your browser.
Then add attributes to the horizontal rule and check in the
browser to see how the appearance of your document has
changed.
Rhymes
Mary had a little lamb
It's fleece was white as snow
But everywhere that Mary went
The lamb was sure to go.
Hickory Dickory Dock
The mouse ran up the clock
The clock struck one
The mouse ran down
Hickory Dickory Dock
Make these changes to the
tag:
end of lesson