HyperText
Lab
Set up your thumbdrive
Note: if you do not yet have a USB thumbdrive, get one.
Create the file structure below on the computer at your desk in class.
Repeat the exercise at home, once you have a thumbdrive.
- Create a directory (folder) on your thumbdrive called CIS228.
- In that directory, create two new directories LABS and PROJECT.
About Me
- Open Windows Explorer. Unhide file extensions (see step 3, page 15).
-
Open Notepad.
Save As index.html in your PROJECT directory.
- Create an html element containing head and body elements.
-
Inside the head element, create a title element.
Type < t i t l e > A b o u t M e < / t i t l e > .
- In the body, create a h2 heading element containing your name:
- Your first name,
- Your nickname in parentheses (if that is what you would rather be called), and
- Your last name.
-
After this heading element,
create paragraph elements (<p>) for each of the following;
- Your major (and minor if you have one).
- Your expected graduation date.
- The classes you are taking this term.
- Your previous computer experience.
- Save your file.
- Open your file with Internet Explorer.
- Open your file with Firefox.
Head First Lounge
- Follow this link to http://wickedlysmart.com/hfhtmlcss/.
- Download the full code and resources zip file.
- Open this file in Windows and extract it to the CIS228 directory on your thumbdrive.
- This should create a hfhtmlcss subdirectory.
- Inside it, find the Chapter 2 subdirectory.
- Copy the lounge subdirectory inside it to your desktop (or MyDocuments directory).
-
Edit the lounge.html file in the copy
to link to the elixers.html and directions.html files.
- Reorganize the files in this directory as suggested in the text.
- Fix any broken links.
- In your LABS directory on your thumbdrive, create a CHAPTER2 subdirectory.
- Copy your revised lounge directory into the CHAPTER2 subdirectory.
- Compare with the completelounge directory from the booksite.
- Create an index.html file in your LABS directory.
- In this file, include a link to your revised lounge.html file.
Always turn off your computer and screen before leaving the room.