Carnival of HTML: Flair: More about URLs

  1. Lists
  2. Flair
  3. Deleted and inserted text

That list of links we added in the previous section aren’t actually linked. Here are the links for each item. Add them with an “a” tag.

IMDB details http://www.imdb.com/title/tt0055830/
IMDB reviews http://www.imdb.com/title/tt0055830/externalreviews
Cast list http://www.imdb.com/title/tt0055830/fullcredits
Discuss it! http://groups.google.com/groups/search?as_q=Carnival%20of%20Souls&as_ugroup=*movies*
Buy it! http://www.amazon.com/exec/obidos/ISBN=1559409002/

The first three URLs look normal; they’re off-site links for more information about the movie. The fourth URL, for “Discuss it!” is a form submission. Everything after the question mark is sent to a computer program on that server; the computer program decides what to send back based on that query. Each part of the query is separated by an ampersand (&). Special characters, such as spaces, need to be specially encoded, because special characters aren’t allowed in URLs. Often, these queries result in the server “querying” a database and returning the results of that query. (Here, it queries their database of discussion group postings.)

image 16
  1. Lists
  2. Flair
  3. Deleted and inserted text