Except where otherwise noted, the contents of this document are Copyright 2010 Marty Stepp and Jessica Miller.
original lab idea and code by Victoria Kirst and Jeff Prouty; revised by Brian Le and Marty Stepp
Today you will create a basic "About Me" HTML page and style it with a bit of CSS.
About MePage
ol
About MePage (~20-25 min)
(The next 3 slides describe this exercise. Please read them all, then start.)
Create a page aboutme.html
that describes you. Include information such as:
This example page describes former TA and textbook coauthor, Victoria Kirst:
To see your page in the web browser, in TextPad click View, In Web Browser.
Or in Firefox, click File, Open File... and browse to your page file to open it.
(See example screenshot on next slide.)
Create a stylesheet named styleme.css
to improve the appearance of your About Me page.
This example is Victoria's styled version of her page:
Next, validate the syntax of your XHTML and CSS code:
Validate by File Uploadand then Browse to your
aboutme.html
file,Validate by Direct Inputand then copy/paste your code into the text box.
lab1
within your public_html
area.
Ask a TA if you have any problems logging in to Webster or uploading your files!
Add a link on your page to the XHTML Validator, using this image and link target:
The next task will be to write a stylesheet for your page, so also include a link to the CSS Validator:
(These links work only if you view your page on webster, not on your computer's hard drive.)
(See example screenshot on next slide.)
If you complete the previous exercises, great job! You can add any extra content to your page that you like. Or if you want a challenge, try to figure out how to add the following styles:
pseudo-classes.)
drop-caps; that is, a large initial letter that is 1.5 times the normal paragraph font size. (Hint: Look for information about CSS
pseudo-elements.)
These are tricks not covered yet in class. Use Google or a CSS reference such as W3Schools.
These are snippets of TA Victoria's updated page, showing links and drop-caps:
Links: (hover is not shown)
Drop-caps:
(See example screenshot on next slide.)
Look up one of the favorite movies/shows from your About Me page on imdb.com.
topic:→
valuepairs, such as
Genre: Comedy.
These are snippets of TA Victoria's updated page, showing a favorite movie:
ol
(See example screenshot on next slide.)
Modify your page's Top 3 movies/shows list to be in decreasing order, from 3 down to 1.
The list must look the same as the default ordered list format, but in reverse order.
The only change you may make to your HTML is to switch the order of your list items, but otherwise all work should be done by CSS. We aren't going to give any hints; you must figure it out on your own by searching the web.
Note: This is very tricky! It is not something that students will be expected to do in this course.
These are snippets of TA Victoria's updated page with a decrementing ol
:
If you finish all the exercises, you can add any other content or styles you like to your page.
If the lab is over or almost over, check with a TA and you may be able to be dismissed.
Great work!