You are here: Home | teaching | Spring 2012 | Week 2

PopUp MP3 Player (New Window)

CMP 342-Internet Programming

Week 2

 

Class 3:

 

  • What's URL and why they sometimes suck?
    • scheme://domain:port/path?query_string#fragment_id
    • the scheme we're using it HTTP (HyperText Transfer Protocol)
    • A domain is something like "art.lehman.edu", the port is always 80, which the browsers assumes. This section could also be an IP address of the host machine.
    • after the next section is the filepath
    • the ?query#fragment_idrefers to any variables that are being passed in the URL and a anchor position in the target document
  • More HTML tags
    • <hr />
    • <div>
    • <span>
    • <form> and associated tags
      • <input>
      • <textarea>
      • <button>
      • <select>
      • <option>
      • <optgroup>
      • <fieldset>
      • <label>
  • HTML attributes
    • id
    • class
You are here: Home | teaching | Spring 2012 | Week 2