Kathie's Virtual Notebook

Explore Virtual University

Week 2, Part 1

Tag References

This may look juvenile but I have to take notes so I can learn it.

This week we are learning about Attributes Attributes must be used with a Value. This Value tells the Attribute how to perform.

Align=is an attribute and must be used with the value=. It can not be used alone. It must be used within a tag and only in the start tag, never the end tag.
Value= tells the attribute how to perform, i.e. moving the direction of a paragraph.
There must be an equal sign (=) after each attribute and a quotation mark (") after each value.

align="left" creates a straight line margin on the left side of the page.

This sentence was aligned to the left.

align="right" creates a straight margin on the right side of the page.

This sentence was aligned to the right.

align="center" creates a centered paragraph with both edges ragged.

This line is in the center of the page.

align="justify" creates a straight left and right margin.

This sentence is justified

Other Tags to Remember

The <i></i> tag italicizes a word.
The <em></em> puts emphasis on a word.
The <b></b> makes a word or phrase bold
The <strong></strong> makes a word with a stronger emphasis.
<blockquote></blockquote> will indent the start of a sentence when you are quoting someone else, like an author of a book, such as: (I'll be quoting "Anne" from Anne of Green Gables")

Gilbert is always calling me carrots!!!
"&nbsp;" adds a space at the beginning of a sentence for a web page like you would use the "tab" key on the keyboard to indent the beginning of a sentence when writing an email or a letter.
  This sentence was indented using &nbsp; for doing so.

The horizontal rule <hr> makes a line that is centered across the page. It does not require a closing tag.


Use hr width="50%" (with brackets of course) to make a short line in the center of the page.


Use hr width="25%" (with brackets) to make a line in the center of the page that is 25% of the page width.
Use hr width="50%" align="right" ( with brackets) to push the line to the right side of the page.

Use hr width="25%" align="left" (with brackets) to push the line to the left margin.

You can add additional attributes to your "hr" tags, ie, a number, for the size or thickness of the line.

Heading tags.

Heading tags are to be used in descending order. h1 is the largest, h6 is the smallest.

Flowers

Flowers

Flowers

Flowers

Flowers
Flowers

I've seen web pages that use a size 5 or 6, I have a terrible time trying to read such small print. The day will come when they start writing their web page in a larger font, then they will know how it is for all us that have to wear glasses and prefer a larger print now. lol


Back To Top

Page One

Page Three

Page Four

Back To Index