This is an example of standard (unformatted) body te xt displayed within an HTML document. In the upcoming exercises, you will learn to use Heading Level tags to structure your Web pages and formatting tags to format the text in your Web pages. Standard body text can be added to an HTML document simply by typing; no special tags are required. It's as easy as typing text into a word processing document.

Heading Level 1

Heading Level 2

Heading Level 3

Heading Level 4

Heading Level 5
Heading Level 6
This is an example of plain text (no formatting)

This is bold text

This is italic text

This is bold and italic text

This is underlined text

This is bold and underlined text

This is superscript text

This is subscript text

This is monospaced font text

Without the Break tag

This is an example of standard text displayed within the body of an HTML document without a break tag.

With the Break tag

This is an example of standard text
displayed within the body of an HTML
document with a break tag.

Without the Paragraph tag

Unlike in word processing documents, carriage returns and line breaks in HTML files are ignored. Text can only be broken using a Paragraph tag or Break tag.

With the Paragraph tag

Unlike in word processing documents,

carriage returns and line breaks in HTML files are ignored. Text can only

be broken using a Paragraph tag or Break tag.

Without the Preformatted Tag

Ohio Virginia Texas Georgia 1996 87 77 43 102 1997 41 59 92 116

With the Preformatted Tag


          Ohio   Virginia   Texas   Georgia

1996       87       77        43      102
	
1997       41       59        92      116

Without the Blockquote tag

This is an example of standard body text. The text extends all the way to the left margin and all the way to the right margin.

With the Blockquote tag

This is an example of standard body text with the Blockquote tag. Notice how the text is indented on both the left and the right.

Thanksgiving Dinner Menu

The Biggest States

Morning Routine

  1. Turn off alarm
  2. Make coffee
  3. Take shower
  4. Shave
  5. Drink all of coffee
  6. Brush teeth
  7. Drive to the office
Default Horizontal Rule

WIDTH=50%


WIDTH=50%, ALIGN=left


WIDTH=75%, ALIGN=right, SIZE=10


This is an absolute font size of 2
This is an absolute font size of 6
This is a relative font size of +3
This is a relative font size of +5
This is a relative font size of -5

This text is green
This text is red and Arial font

Character Entity References

I can even insert additional         horizontal spaces


Character Numeric References

I can even insert additional         horizontal spaces

Andrews Air Force Base, Greenbelt, Maryland
The Air Show

Common House Pets

Cat
Dog
Goldfish
Gorilla

External Link (anchor tag)

Link to Saucony's Web site

Link (anchor tag) to another of my pages

If you want to see my other Web page, click here

Creating an image anchor

Click this image to download
another picture from the collection.

Link to a JPEG image file

This exercise creates a link that downloads a JPEG image of runners in a race.


Your opinions and feedback are important to us. Don't hesitate to send us a message at feedback@ibm.com informing us of what we're doing right, what we're doing wrong, or new products and services that you would like to see. I added this line for my email link.