Practice Assignment

Read everything before doing anything!

The object of this assignment is to use the text formatting elements in XHTML. Click this link to see the text file that you should copy and paste into your template file, then save as knitting.html.

Here is the text, with line numbers for reference.

 1	Knitting
 2
 3	Note: This information is taken from Wikipedia, the
 4	online dictionary.  See http://en.wikipedia.org/wiki/Knitting
 5
 6	Introduction
 7
 8	Knitting is one of several ways to turn thread or yarn into
 9	cloth. Unlike woven fabric, knitted fabric consists entirely
10	of parallel courses of yarn. In practice, knitting is
11	usually begun (or "cast on") by forming a base series of
12	twisted loops of yarn on a knitting needle. A second
13	knitting needle is then used to reach through each loop (or
14	stitch) in succession in order to snag a bight of yarn and
15	pull a length back through the loop. This forms a new stitch
16	at the top of the current wale of stitches (or loops).
17
18	Types of Stitches
19
20	The two basic stitches are knit (or "plain") and purl (or
21	"wrong"). These two nominal stitches are actually identical,
22	however, being the obverse and reverse of the same stitch.
23	If only knits or only purls are used when working back and
24	forth in rows, the result is called garter stitch.
25
26	Complex Stitches
27
28	Alternating rows of knits and purls result in stockinette or
29	jersey stitch, the stitch most often used in commercial
30	garments such as T-shirts. Different combinations of
31	stitches can be used to form ribbing, cables, or other
32	textures. Complex patterns can be formed by knitting with
33	multiple colours.

Do NOT copy and paste the version with the line numbers! Copy and paste this text file instead!!!!

Here is the formatting that you should add.

The Solution

This is what the page looks like when it is done. You can go to that page and choose “Source” from the “View” menu in Internet Explorer. (Choose “Page Source” in Mozilla.) You may also see the solution directly.