Text and Links

Headings give a page an outline, paragraphs and emphasis carry its words, and links are what make it the web. You will link to other sites, between your own pages and to a spot on the same page, then build a fan page for your favorite band.

Updated

Headings and Text

  1. Headings and the Page Outline (Novice): Headings from h1 to h6 give a page an outline, like a book's title, chapters and sections, so readers and screen readers can find their way around it.
  2. Paragraphs, Line Breaks and Special Characters (Novice): Paragraphs hold a page's words, the browser squeezes extra spaces and line breaks into one space, and character references let you show characters that HTML would otherwise misread.
  3. Bold, Italic and What They Mean (Novice): The strong, em, b, i and small elements all change how text looks, but each one says something different about what the words mean, so you choose them by meaning, not by looks.

Links

  1. Links to Other Sites (Novice): The a element with an href attribute turns words into a link to any page on the web, and good link text tells people where the link goes before they follow it.
  2. Links Between Your Own Pages (Apprentice): A relative path gives directions from the page you are on to another page of your own site, into a folder or back up with ../, so your links keep working wherever the site lives.
  3. Links Within a Page, Email and Phone Links (Apprentice): An id marks a spot on a page and a link to the hash sign and that id jumps straight to it, while mailto and tel links start an email or a phone call.

Exercise: A Fan Page for Your Favorite Band

  1. Exercise: A Fan Page for Your Favorite Band (Novice): Build a two-page fan site for a band you love, with a heading outline, paragraphs, a link to the band's site, jump-to links and an album page linked both ways, and let the tests check every heading and link.