===============================================================

Format HTML Text

Module W22i

* About this document... * Audience and Objectives *
 
===============================================================

In a text editor, create an HTML page.

Tip: Use the template you saved in exerise W22h!

Save the file as formats.htm

Set the title to read, "Sarah Strong's HTML Format Sampler"

If your name isn't Sarah Strong, write your own name instead.

Copy the following text into the body of the HTML:

	Comment: Format the next line as a Heading 1:
Sarah Strong's HTML Format Sampler
	Comment: Format each of the following lines to be what it says it is:
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Size Normal
Size 1
Size 2
Size 3
Size 4
Size 5
Size 6
Size 7
This line is in italics
This line is bold        
This line is aligned left
This line is aligned right
This line is centered
This line is in a Monospace font
This line is in Arial, Helvetica or sanserif font

	Comment: skip two lines here
	Comment: center lines until asked to do something else
	Comment: next line Heading 3
Stories by Modern English Authors 
	Comment: next two lines Heading 4
CLASSIC MYSTERY AND DETECTIVE STORIES 
EDITED BY JULIAN HAWTHORNE 
	Comment: next line Heading 2
A. CONAN DOYLE (1859-) 
	Comment: next line Heading 1
A Case of Identity 
	Comment: align the next paragraph to the left and make it default text font
"My dear fellow," said Sherlock Holmes, as we sat on either side of the fire in his lodgings at Baker Street, "life is infinitely stranger than anything which the mind of man can invent. We would not dare to conceive the things which are really mere commonplaces of existence. If we could fly out of that window hand in hand, hover over this great city, gently remove the roofs, and peep in at the queer things which are going on, the strange coincidences, the plannings, the cross-purposes, the wonderful chains of events, working through generations, and leading to the most outre results, it would make all fiction, with its conventionalities and foreseen conclusions, most stale and unprofitable." 

Format the text according to the instructions found in the comments.

Save your file frequently so you don't lose anything; and again when you're done.

View and check the HTML file in a browser

Make sure all the lines are formatted according to the instructions. If they're not, use the text editor to fix them.

Make each of the comment lines into an HTML comment so it won't show when the file is viewed in a browser.

Save the file on your disk again, and check the file to make sure all the comments have disappeared. Fix them in the text editor if they're showing, and save your file one last time.

Submit your assignment

Send your assignment to the Instructor by attaching it toan email message.


Audience: This is for people who have created a basic HTML file and want to make the text look good.
Objectives: When you successfully complete this lesson, you will be able to...

===============================================================

About this document...
Module W22i: This document is part of a modular instruction series in computer technology. For more information, see the overview or the list of modules in this series, W: World Wide Web. This document has been used in the following classes: INP 165: Basic HTML

Author: Laurence J. Krieg
Institution: Internet Professional Department, Washtenaw Community College
History: Original: October, 2000; This revision posted [an error occurred while processing this directive]
Copyright © 2000, Laurence J. Krieg, Washtenaw Community College
Instructors: You are welcome t point to this file in your Web-based materials.
Students: you may make a copy for your personal use.
All other uses: contact the author, Laurence J. Krieg for permission.
===============================================================