Standard HTML 5

Exam 1

There will be an exam next class Thursday, 2/21/13. Here is the exam from last semester: Fall 2012.

Lab 6

More JavaScript

  1. Copy hello.html from LAB5 to a new LAB6 directory.
  2. Replace the following line in the new hello.html page:
            a l e r t ( g r e e t i n g ) ;
    with these two lines:
            v a r   p = d o c u m e n t . g e t E l e m e n t B y I d ( " m e s s a g e " ) ;
            p . i n n e r H T M L = g r e e t i n g ;
  3. Change
    w i n d o w . o n l o a d = i n i t ( ) ;
    to
    w i n d o w . o n l o a d = i n i t ;
  4. Save your file and open it in some browser. Type your name in the popup window. Then hit Enter.

Standardize the HeadFirst Lounge

  1. Create a LAB6 subdirectory of your LABS directory.
  2. In that directory, download and extract lounge.zip.
  3. Edit the lounge.html file in the lounge directory.
  4. Add a <!doctype html> tag at the top of the file.
  5. Use the validator, http://validator.w3.org, to check if the page meets standards.
  6. Add in the suggested <meta charset="utf-8"> tag to the head element, and try the validator again.
  7. Fix any mistakes and validate until your page has no errors.
  8. Repeat for the elixers.html and directions.html pages.
  9. Edit the index.html file in your LABS directory to have a link to your revised lounge.html and hello.html pages.

Standardize your About Me pages

  1. Make the web pages in your PROJECT directory HTML5 compliant.

Synchronize your website to your thumbdrive.

Always turn off your computer and screen before leaving the room.