squeak!
Syllabus Homepage
Course Overview
Course resources
Day 1
Day 2
Day 3
Day 4
Common errors
Internet Glossary
About Your Instructor
Credits: This site powered by the vi text editor, apache webserver, perl scripting, and Debian linux.
squeak!

Web Page Design I - Day 1

Admin

Texas state survey and Roll.

Goals

In this session you will:
  • learn the relationship of HTML to SGML
  • write simple html document
  • devise an organizational scheme
  • use hyperlinks
  • use images and colors in your page
  • alter text font, color, style
  • learn good habits that will serve you well in the future

    Internet, the Web, and HTML

    p. 12.
    • web as subset of internet
    • html as markup for the web
    • client/server
    • URL as a path to document on a server p. 27.

    SGML and HTML

    • SGML parent of HTML and XML - all are plain text (text editors)
    • logical presentation rather than cosmetic
    • viewer-agnostic: trust the browser!
    • prolog or declaration
    • container elements (<foo>this text is contained</foo>) and empty elements (<foo />) p.21.
    • element names and attributes (key/value pairs) p. 22.
    • nesting p.23.

    specific to HTML

    • rendered in a browser (the web client). Source is accessible.
    • comments
    • whitespaces compress to one whitespace: use spacing for markup clarity. p.24.
    • links
    • embedded documents (images, sounds, etc)
    • .html extension (.htm .shtml, etc)

    minimalist html

    <HTML>
    	<HEAD>
    	<TITLE>This is my page title</TITLE>
    	</HEAD>	
    
    	
    
    	<BODY>
    	And this is some text	
    	</BODY>	
    
    
    </HTML>
    

    Practicum: minimalist web page on the localhost

    pp 36-38.
    • create a minimal webpage using the format above
    • view it in your browser
    • change the webpage
    • view the changed page in your browser
    Topics for discussion: URL; browser cache, refresh/reload, saving your work, backups.

    Text Formatting

    • <P> paragraph
    • <BR> linebreak
    • <HR> horizontal rule, size width, align. p. 95
    • <BLOCKQUOTE></BLOCKQUOTE>
    • <PRE></PRE>
    • <NOBREAK></NOBREAK>
    • <WBR> suggested break, if necessary
    • Ordered and Unordered lists, List Items

    Practicum: second web page on the localhost

    • create a second web page that contains a blurb about a pet you have (or had in the past). If you have never had a pet, use an imaginary one. :-)
    • give it a descriptive name.

    links (anchors)

    • a link:<A HREF="URL goes here">my text that will be a link</A>
    • relative (somefile.html) p.28. . and ..
    • absolute (http://hostname/path/to/somefile.html) p. 27.
    • internal
      • hyperlink: <A HREF="#name">my text that will be a link</A>
      • target: <A NAME="name">my text that will be the target for an internal link</A>

    Practicum: site organization of second web page on the localhost

    Organization of a web site... hierarchy, maintainability.
    1. make a subdirectory called pets
    2. move your pets html to that dir
    3. make both pages link to each other
    Organization becomes more and more important as the site grows and gains more types of media.

    graphics

    Font and text styles

    • BASEFONT tag
    • TEXT tag
    • link, vlink, alink tag
    • basefont tag
    • FONT FACE="" SIZE="3" COLOR="" tag. pp. 45-50.
    • BIG, SMALL, SUB, SUP, U, STRIKE, CODE and the much-detested "blink" tag.
    • BIG
    • FONT FACE="" SIZE="3" COLOR="" tag. pp. 45-50.
    • FONT FACE="" SIZE="3" COLOR="" tag. pp. 45-50.

    Homework

    • read news:comp.infosystems.authoring.html
    • surf and look at pages; view the source to see how things are done.


    http://www.mousetrap.net/syllabus/wpd1/day1.html
    $Id: day1.orb,v 1.14 2002/06/15 03:04:08 mouse Exp $

    Remember, your login is based on your machine's hostname, not on any other number.
    ~/[initials] refers to the subdirectory under your homedir, named after your initials. Everything except for .dotfiles will be stored in your ~/[initials] directory.


  • © 1995-2001 jason carr
    Distributed under the terms of the GNU Free Documentation License.