HTML Reference Title!!

Basic HTML Tags...

Example of another paragraph.

This is an example of an h1 header

This is an example of an h2 header

This is an example of an h3 header

This is an example of an h4 header

This is an example of an h5 header
This is an example of an h6 header

Unordered Lists - <ul>

Note - Use <li> for individual list items...


Ordered Lists - <ol>

Note - Use <li> for individual list items...

  1. This is item 1
  2. This is item 2
  3. This is item 3
  4. This is item 4

    Ordered List - <ol type="A">

  1. This is item 1
  2. This is item 2
  3. This is item 3
  4. This is item 4

    Ordered List - <ol type="I">

  1. This is item 1
  2. This is item 2
  3. This is item 3
  4. This is item 4

Image Attributes

Use align to set img. to bottom, middle, top, left, right.

Use alt to have alternative text displayed when image is loaded.

Use border to define the border width.

Use height to increase height of image and improve loading time.

Use hspace to define horizontal space that is between image and text on page.

Use src to display image onto web page(uses URL).

Use vspace to define vertical space that is between image and text on page.

Use width to define the width of the image


Color attributes for the "body" tag

link is used for controlling the color of a normal unvisited link. Default color is blue.

vlink is used for controlling the color of a link that has been clicked or visited. Default colors can be green or purple.

alink is used for controlling the color of a link immediately after the mouse clicks the hyperlink.


Font attributes & values

These statements following are used only when "font" tag is initiated.

color="#xxxxxx"changes font color; six digit color code.

face="fontname"changes font type;ex:Veranda, Times New Roman.

size="x"changes font size; from 1(small) to 7(large).


"a" tag attributes & functions

href specifies the URL of the linked page or file.

name defines a name for the current anchor so it may be the target or destination of another link. Each anchor must use a unique name.

rel indicates a forward relationship from the current document to the linked document. The value of the rel attribute is a linked type, such as prev, next, index, or copyright. For example the web page might include the tag: a rel="next" href="chapter6.htm" to indicate a link to the web page for the next chapter, chapter6.htm

rev indicates a reverse relationship from the current document to the linked document. The value of the rev attribute is a link type. A web page might include the tag: a rel="prev" href="chapter4.htm" to indicate a link to the web page for the previous chapter, chapter4.htm.

type specifies the content type(media types or MIME types) of the linked page or file to help a browser determine if it can handle the resourse type. Examples: text/html, image/jpeg, video/quicktime, application/java, text/css, text/javascript.


Text Formatting Tags

b; /b is the physical style tag that displays text as bold.

big; /big increases the font size in comparison to the surrounding text

blockquote; /blockquote designates a long quotation & indents margins on sections of text.

em; /em logical style tag that displays text with emphasis (usually appears as italicized).

i; /i physical style tag that displays text with italics

pre; /pre sets the enclosed text as preformatted material, meaning it preserves spaces and line breaks; often used for text in column format in another document pasted into HTML code

strong; /strong logical style tag that displays text with strong emphasis (usually appears as bold)

small; /small decreases font size in comparison to the surrounding text.

sub; /sub displays text as subscript.

sup; /sup displays text as superscript.

tt; /tt displays text as underlined.


Definition List - <dl>

Note - Use <li> for individual list items and <dd> for definitions of terms...

Internet
Worldwide collection of computer networks linked together.
Chicken
something which bawks and people like to eat
Meow
Sound that a cat makes