This project is intended to give students experience in composing a small web site involving Cascading Style Sheets (CSS). The project will employ all three methods of applying CSS styles to XHTML code: external, embedded, and inline. All files in this project will be written using a plain text editor to help students develop a fundamental understanding of XHTML and CSS syntax.
In this project, your grade will be based on how effectively you accomplish the stated goals in applying various styles to two web pages. Simply applying the styles is not enough; you must apply them using the requested method. Both the XHTML and CSS must be validated. The XHTML must validate under transitional standards using the [W3C Markup Validation Service]. The CSS must validate using the [W3C CSS Validation Service].
In this project, you will attempt to produce a pair of web pages that produce output as close as possible to the [illustration of the site] that has been provided as a separate Adobe® PDF file. For specific help with XHTML elements, look in your textbook or in the [XHTML Tag Index] from [W3SCHOOLS.COM] or other online references. For specific help with CSS elements, look in your textbook or in the [CSS2 Reference Page] from [W3SCHOOLS.COM] or other online references.
txt to the end of the filename.project3" to serve as the sole folder for your project files.project3.css" in your "project3" folder to serve as an external CSS style sheet for your site that defines (not just relies on defaults for) the following styles for your site:
http://www.gibsonr.com/classes/images/ircclogo.gifdefault.htm" in your "project3" folder to serve as the home page for your project that will conform to the styles defined in your external style sheet. Hint: look at the link tag shown on the [W3Schools "CSS How To ..." demonstration page] and substitute project3.css for mystyle.css.
Your default.htm file must contain inline style specifications that will override the external style sheet as described below. CSS and other criteria for this page include:
float property. Note that the horizontal rule following the block must contain an attribute to clear the float to force that rule to be positioned under/past the block rather than to the left of it.embedded.htm" page.embedded.htm" in your "project3" folder to serve as a special page for your project that will use some but override others of the styles defined in your external style sheet by using an embedded style sheet (in the head section). CSS and other criteria for this page include:
instruction" that is defined in the embedded style sheet. It should show up in a smaller than normal italic red font.default.htm" page.<!-- Comment here -->/* Comment here */<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
By file upload method will work only for external (pure) CSS files. Embedded and inline rules will have to be validated using either the By direct input method or the By URI method (which works only for files stored on a Web server).<!-- and -->) to mask any code that is causing trouble, move on to a different element, and come back to solve the problem later. Some frustration can be a valuable motivator to reinforce lessons. But too much can inhibit learning. Schedule your time to allow some breaks between working sessions.Your web site (with all associated files and folders) should be submitted via the Project 3 drop box under
the Lessons tab on the . You
should copy your "project3" folder into a compressed folder
with the same name, but with a ".zip" extension.
Then, login to the and use the Project 3 drop box under the Lessons tab to attach your compressed folder.