Lesson 2. ________________ Phase 1. Getting Started 1. Open thenips1.html in your text editor. 2.Note that some of this page has already been marked up. However there is still some work to be done. 3. There is a new tag here,

around the text "From Wikipedia, the free encyclopedia". similar to

which is a first level heading,

indicates a third level heading. 4. Open thenips1.html in your web browser. 5. Note the size of "The Nipple Erectors" vs. the size of "From Wikipedia, the free encyclopedia". Those are the default styles for those tags. We will change them in lesson 3. 6. Note how the rest of the text has apparently lost the formatting present in the original text version, and all the text now runs together in a single wordwrapped line. Phase 2. We will reintroduce the paragraph formatting of the original text using the

tag. 1. insert an opening

tag before just before the text "The Nipple Erectors were a British punk rock band" 2. Insert a closing

tag just after the text "by introducing elements of rackabilly, r&b and pop into their music" these are the beginning and end of the first paragraph. 3. Save your changes. 4. Refresh your browser and note the result. 5. if this worked correctly you should see that the first paragraph has become a distinct block of text seperated from the rest of the content. 6. wrap the next two paragraphs in p tags, as in steps 1 and 2, starting with "The band renamed themselves The Nips" and the second starting with "The Jam frontman Paul Weller" 7. save your changes, and refresh your browser again, noting the results Phase 3. Dealing with numbered lists After the first three paragraphs, there is a table of contents. which should look like this: Contents ¥ 1 Discography ¥ 2 Singles ¥ 3 Albums ¥ 4 External links 1. Put the word "contents" in a second level header. that is, make it look like this:

Contents

2. delete the extraneous symbols and numbers, leaving only the words "Discography" "Singles" "Albums" and "External links" seperated by carriage returns 3. Place all four items in the list in a single ol element. (ol stands for ordered list). After step 3, you should see something like this:

Contents

    Discography Singles Albums External links
4. Wrap each item in its own li element. (li stands for list item). the result should look like this:

Contents

  1. Discography
  2. Singles
  3. Albums
  4. External links
5. Save changes, refresh browser, note result. Wee, lookit them numbers! Phase 4 Unordered lists (Bulleted lists) the next bit of text looks a bit like this Discography Singles ¥ "King of the Bop" (1978) ¥ "All the Time in the World" (1978) ¥ "Gabrielle" (1979) ¥ "Happy Song" (1981) Albums ¥ "Only the End of the Beginning" (1980) - live in Wolverhampton ¥ "Bops, Babes, Booze and Bovver" (1987) - posthumous singles compilation External links ¥ The Nips: Licensed to Cool - a fan site. ¥ Nipple Erectors biography at punk77.co.uk. 1. Let's start with the headings. Remember to make your mark up logical to the content

Discography

Singles

¥ "King of the Bop" (1978) ¥ "All the Time in the World" (1978) ¥ "Gabrielle" (1979) ¥ "Happy Song" (1981)

Albums

¥ "Only the End of the Beginning" (1980) - live in Wolverhampton ¥ "Bops, Babes, Booze and Bovver" (1987) - posthumous singles compilation

External links

¥ The Nips: Licensed to Cool - a fan site. ¥ Nipple Erectors biography at punk77.co.uk. 2. Strip away bogus characters

Discography

Singles

"King of the Bop" (1978) "All the Time in the World" (1978) "Gabrielle" (1979) "Happy Song" (1981)

Albums

"Only the End of the Beginning" (1980) - live in Wolverhampton "Bops, Babes, Booze and Bovver" (1987) - posthumous singles compilation

External links

The Nips: Licensed to Cool - a fan site. Nipple Erectors biography at punk77.co.uk. 3. put the lists in list elements. This time we'll be using