| ||||
|
Contents |
||||
Overview
|
| Getting Started |
Save your XHTML template file as Aesop.htm, and title the page, "Sarah Strong's Fables" (changing Sarah Strong to your own name). Make sure your name is listed as author. Open file aesop_fables.txt, copy the text, and paste it into the body of your HTML file. Each fable consists of three parts:
You will be formatting each part with its own unique style, but first you will need to make each part a separate entity. So...
When it looks good, go on to the next part. You will be adding styles to the <h1> and <p> tag of each part of each fable. Consult your textbook or the "Style Toolkits" in module X20b for the syntax necessary to format according these instructions. |
|
Fable 1
|
We'll format this in a conservative but attractive manner. Title: 14 point Verdana, Arial, Helvetica, or sans-serif Story: 11 point Georgia, Times New Roman, or serif Moral:
|
| Fable
2
|
On this fable, let's put in interesting colors. Use the same fonts and sizes as in the first fable, but add: Title:
Story: Medium teal: #009999 Moral: Strong red: #cc0000 |
|
Fable
3
|
In the third fable, we'll add borders and text alignment. Title:
Story:
Moral:
|
|
Fable
4
|
For the fourth fable, experiment with colors, alignments, sizes, and fonts. Title: Large and colorful Story: Remember this is about a lion - use appropriate colors Moral: Be creative! |
| When you're done, double-check that the assignment meets the specifications above, and that all links are functional. Attach your file (Aesop.htm) to email to the instructor. Be sure your email meets the formal requirements: name, class, section and exercise (x20h), and that it follows standard business-email practice. (Printed output is not required for this exercise.)
|
| |
|
|---|---|
|
Audience
|
This exercise is for people who are familiar with the concepts of CSS and are ready to begin formatting with simple, in-line CSS.
|
| Objectives |
On successful completion of this module, you will be able to use in-line CSS to apply:
|
| Module x20h:Formatting with In-Line Styles (2) |
This document is part of a modular instruction
series in Computer Instruction. For more information, see the overview
or the list of modules in this series, X: "XML,
XHTML, DHTML, CSS". This document has been used in the following
classes: INP 150, INP 270.
|
| History: |
Original: 10 March 2003
Last modification: Monday, 31-Aug-2009 11:48:08 EDT |
| Copyright |
Copyright © 2004, Laurence
J. Krieg, Washtenaw Community College
Instructors: You may point to this file in your Web-based materials; however, its location may change without notice. Students: You are welcome to make a copy for your personal use. All other uses: Please contact the author, Laurence J. Krieg, for permission: krieg@ieee.org. |