Difference between revisions of "AIM Class2"

esse quam videri
Jump to: navigation, search
(XHTML: Extending HTML)
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:AIM]]
+
[[Category:Authoring Interactive Media]]
 +
-------------------------------------------------------------------------------------
 +
'''Class Goals'''
 +
#Review basic markup concepts from previous class
 +
#Introduce CSS and give a tutorial on basic CSS
 +
#Students create at least one CSS page (a basic one) for reference
 +
   
 +
-------------------------------------------------------------------------------------
 +
 
 +
 
 +
==Due==
 +
Class Portfolio Website
 +
 
 +
[AIM Assignment 1] - Web site analysis project (emailed to instructor)
  
==Review History of Markup from last class==
+
Reading: XHTML: Introduction (pgs 13-22), Chapters 1, 2, and 3
 +
 
 +
==Review Markup==
 
What is the connection between XML, XHTML and CSS?
 
What is the connection between XML, XHTML and CSS?
  
==XHTML: Extending HTML==
+
What is the basic syntax form?
Last class we spoke about the benefits of XML and why we are moving away from pure HTML documents. So why was HTML extended instead of replacing it entirely with XML?
 
  
===Why Extend HTML===
+
"Open" tags vs. "closed" tags
XML is a "meta" markup language. In order to have anything meaningful, you must either use a pre-existing set of elements or create your own (unlike HTML, XML doesn't come with a predefined set of tags). For those looking to quickly markup a document, or for those who mainly need the set of tags already defined by HTML, XHTML is a more appropriate language to start with. XML languages can then be used in XHTML documents (HTML can not be used in XML languages - extending HTML allows us to use XHTML in conjunction with XML)
 
  
===The Differences===
+
Block level vs. inline
XHTML is almost exactly the same language as HTML 4.0 with a few important differences.
 
#Syntax - See the [http://www.w3.org/TR/xhtml1/#guidelines W3 Guidelines]
 
  
 
==Introduction to CSS==
 
==Introduction to CSS==
Line 23: Line 34:
  
 
In class we will discuss the first three methods and create an example of the third. The fourth method, import, will not be covered in class because there is sketchy support for it (which actually turns out to be a plus if you want a specific style sheet that some browsers won't be able to see or use).
 
In class we will discuss the first three methods and create an example of the third. The fourth method, import, will not be covered in class because there is sketchy support for it (which actually turns out to be a plus if you want a specific style sheet that some browsers won't be able to see or use).
 +
 +
===Style Rules===
 +
 +
#Selector
 +
#Declaration
 +
 +
===CSS Properties and Values===
 +
 +
See also Appendix B in your XHTML text (pages 440-446)
  
 
==Class Assignment==
 
==Class Assignment==
Line 38: Line 58:
 
[[AIM Assignment 2]]
 
[[AIM Assignment 2]]
  
AIM Quiz 1
+
===Reading===
  
===Reading===
+
XHTML: Chapter 24, pages 394-404; Chapter 8, pages 133-146; Chapter 9, pages 148-149
  
XHTML: Chapter 24
+
ZEN: Chapter 1, pages 9-33
  
 
Online Article: [http://argus-acia.com/strange_connections/strange001.html Peter Morville's Strange Connections]
 
Online Article: [http://argus-acia.com/strange_connections/strange001.html Peter Morville's Strange Connections]
Line 53: Line 73:
 
==Resources==
 
==Resources==
 
     <ul>Helpful links:
 
     <ul>Helpful links:
     <li><a href="http://www.pixy.cz/apps/barvy/index-en.html">Color Scheme</a> (color scheme generator)</li>
+
     <li>[http://www.pixy.cz/apps/barvy/index-en.html Color Scheme] (color scheme generator)</li>
  
     <li><a href="http://www.colorschemer.com/online.html">Color Schemer</a> (color scheme generator)</li>
+
     <li>[http://www.colorschemer.com/online.html Color Schemer](color scheme generator)</li>
     <li><a href="http://colormatch.dk/">Color Match 5k</a> (color scheme generator)</li>
+
     <li>[http://colormatch.dk/ Color Match 5k](color scheme generator)</li>
 
      
 
      
     <li><a href="http://archive.devx.com/projectcool/developer/gzone/color/color_symbolism02.html">Color Symbolism</a> (devx.com article)</li>
+
     <li>[http://archive.devx.com/projectcool/developer/gzone/color/color_symbolism02.html Color Symbolism] (devx.com article)</li>
     <li><a href="http://www.personal.psu.edu/faculty/c/a/cab38/ColorSch/SchHome.html">Color Use Guidelines for Mapping and Visualization</a>
+
     <li>[http://www.personal.psu.edu/faculty/c/a/cab38/ColorSch/SchHome.html Color Use Guidelines for Mapping and Visualization]
  
     </li><li>Web Graphics for Non-Designers Excerpt <a href="http://www.webreference.com/authoring/graphics/color/nondesigners/chap2/">Chapter 2: Using Color</a>
+
     </li><li>Web Graphics for Non-Designers Excerpt [http://www.webreference.com/authoring/graphics/color/nondesigners/chap2/ Chapter 2: Using Color]
     </li><li><a href="http://webdesign.about.com/cs/color/a/aacolorharmony.htm">Color Harmony</a> (about.com article)</li>
+
     </li>
     <li><a href="http://colormatters.com/colortheory.html">Basic Color Theory</a> (color matters.com article)</li>
+
    <li>[http://webdesign.about.com/cs/color/a/aacolorharmony.htm Color Harmony] (about.com article)</li>
 +
     <li>[http://colormatters.com/colortheory.html Basic Color Theory] (color matters.com article)</li>
 
      
 
      
     <li><a href="http://www.colormatters.com/chameleon.html">Color, the Chameleon of the Web</a> (color matters.com article)</li>
+
     <li>[http://www.colormatters.com/chameleon.html Color, the Chameleon of the Web] (color matters.com article)</li>
  
     <li><a href="http://colormatters.com/des_ecom.html">Color and E-Commerce</a> (color matters.com article)</li>
+
     <li>[http://colormatters.com/des_ecom.html Color and E-Commerce] (color matters.com article)</li>
     <li><a href="http://webdesign.about.com/cs/color/ht/htrgbhexwindows.htm">How To Convert From RGB to Hex on a Windows Computer</a> (about.com article)</li>
+
     <li>[http://webdesign.about.com/cs/color/ht/htrgbhexwindows.htm How To Convert From RGB to Hex on a Windows Computer] (about.com article)</li>
     <li><a href="http://www.colordream.net/research/eresult.htm">Study of color preferences in Japan</a></li>
+
     <li>[http://www.colordream.net/research/eresult.htm Study of color preferences in Japan]</li>
     <li><a href="http://www.personal.psu.edu/faculty/c/a/cab38/ColorBrewerBeta.html">Color Brewer</a> (color scheme tool)</li>
+
     <li>[http://www.personal.psu.edu/faculty/c/a/cab38/ColorBrewerBeta.html Color Brewer] (color scheme tool)</li>
 
</ul>
 
</ul>

Latest revision as of 16:02, 5 August 2008


Class Goals

  1. Review basic markup concepts from previous class
  2. Introduce CSS and give a tutorial on basic CSS
  3. Students create at least one CSS page (a basic one) for reference


Due

Class Portfolio Website

[AIM Assignment 1] - Web site analysis project (emailed to instructor)

Reading: XHTML: Introduction (pgs 13-22), Chapters 1, 2, and 3

Review Markup

What is the connection between XML, XHTML and CSS?

What is the basic syntax form?

"Open" tags vs. "closed" tags

Block level vs. inline

Introduction to CSS

There are four ways to use stylesheets:

  1. In-line
  2. Embedded
  3. Linked (External)
  4. Import* 

In class we will discuss the first three methods and create an example of the third. The fourth method, import, will not be covered in class because there is sketchy support for it (which actually turns out to be a plus if you want a specific style sheet that some browsers won't be able to see or use).

Style Rules

  1. Selector
  2. Declaration

CSS Properties and Values

See also Appendix B in your XHTML text (pages 440-446)

Class Assignment

Create an experimental CSS file that does the following:

         * Use a div
         * Use a span
         * Use at least one class
         * Use at least one ID
         * Change the background color of a div, and the text color
         * Change the background color of a span, and the text color

Homework

AIM Assignment 2

Reading

XHTML: Chapter 24, pages 394-404; Chapter 8, pages 133-146; Chapter 9, pages 148-149

ZEN: Chapter 1, pages 9-33

Online Article: Peter Morville's Strange Connections

Online Article: Dan Willis's Classic IA Tools

Quiz

AIM Class Quiz 01

Resources