This is an example of standard (unformatted) body text 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.
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 (but with a break in the text).
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
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
Carrot Soup
Roast Turkey with Savory Gravy
Mashed Potatoes
Stuffing
Acorn Squash
Cranberry Sauce
Pumpkin Pie with Whipped Cream
The Biggest States
Alaska
California
Montana
Nevada
Texas
The Biggest States
Alaska
California
Montana
Nevada
Texas
Morning Routine
Turn off alarm
Make coffee
Take shower
Shave
Drink all of coffee
Brush teeth
Drive to the office
Morning Routine
Turn off alarm
Make coffee
Take shower
Shave
Drink all of coffee
Brush teeth
Drive to the office
Default horizontal ruleWidth of 50%Width of 50%, Aligned leftWidth of 75%, Aligned right, Sized 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 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
If you want to see my other Web page, click here
here
Creating an image anchor
Click this image to load
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.
Mytrip to Ohio
This is my first experiment in web write the web page
Emphasized text Strong text
Definition term Computer code text Sample computer code text Keyboard text Variable
Citation
This is some text.
This is some text.
Mytrip to Ohio
The Air Show
This is some text. This is some text. This is some text.
Note: The align attribute was deprecated in HTML 4, and is not supported in HTML 4.01 Strict DTD or in XHTML 1.0 Strict DTD. Use CSS instead.
Click on the sun or on one of the planets to watch it closer:
Written by W3Schools.com Email us
Address: Box 564, Disneyland
Phone: +12 34 56 78
- Notice that we have only specified a relative address for the image. Since we have specified a base URL in the head section, the browser will look for the image at "http://www.w3schools.com/images/stickman.gif"
W3Schools - Notice that the link opens in a new window, even if it has no target="_blank" attribute. This is because the target attribute of the base element is set to "_blank".