c251info.htm
NOTE: All hyperlinks are by permission of authors. Notes are not copied to this webpage.
Placeout Exam - Ready! Click here
COOL Tools
Lecture Week 13: Frames
- Web page projects are due the last day of class
- Work on completing Web page design projects
Objectives
- Finish web page projects
HOMEWORK
- Email your webpage changes for review to the TA & Instructor
Lecture Week 12: Frames
- Review tags and webspage design of class
- Web page design projects
Objectives
- Finish web page projects
HOMEWORK
- Email your webpage changes for review to the TA & Instructor
Lecture Week 11: Frames
- Frames: An introduction
- Frame Note example
- Basic Frame Syntax
- Sample files
- Sample Code output
Objectives
- Creating frames
HOMEWORK
- Send the URL of useful websites to be added to the "COOL TOOLS" section.
- Add the learned html tags to your webpage
- Email your webpage changes for review to the TA & Instructor
Lecture Week 10: Create Image Maps
An imagemap is a special kind of hyperimage, divided into sections by coordinates.
Each section of the imagemap activates a different hyperlink. Instead of a list of
hyperlinks, we can use an image that is interactive and interesting.
- Creating the Image
- By scanning an image of a map , chart, or picture
- Create a collage of scattered images
- Scan a photo of an object
- By downloading images from various sites on the internet to use as imagemaps
-
- Create the map
- Define the hotspot in the image selected
- Define the borders between the hotspots of an image map.
- assign a target URL for each hotspot
- define a default point for clicking outside a hotspot
- MAP FILE - the file that contains region information.
- Example 1: IHIP - ImageMap Help Page
- Example 2: Mapedit
- Write the HTML Code
- Display the image map with the (IMG) tag
- Add the ISMAP attribute
- Example: Given: The image is called RACWRLD.GIF and the map file is RACWRLD.MAP
- Code :
(a HREF="http://www.intrex.net/costello/racworld.map")
(IMG SRC="racwrld.gif" ISMAP)(/A)
- Set up the Server
- CGI Script - Common Gateway Interface script is supported by the server.
Imagemap Information Links
- Mapedit
- NCSA Imagemap Tutorial
- IHIP - ImageMap Help Page
Objectives
- Creating Image maps
HOMEWORK
- Add the learned html tags to your webpage
- Email your webpage changes for review to the TA & Instructor
Lecture Week 9: Review the Student Webpages
- Each student is to give a short (3 minute) presentation of their web page.
- Fellow students will provide suggestions and feedback
Objectives
- Check student progress
HOMEWORK
- Add the learned html tags to your webpage
- Email your webpage changes for review to the TA & Instructor
Lecture Week 8: Create Images on Web pages
- Adding images to web pages
- Color schemes
Adding images to web pages
- Inline Images
- Image and Text alignment
- Aligning Multiple Images
- Manipulating Images
- Hyperimages
- Transparent graphic images
- Interlaced GIF Images
- Text alternative to images
Color schemes - used with BODY tag
- BGCOLOR - (white) BG color of entire document
- TEXT - (black) color of text that is not a link
- LINK - (blue) set color of all unexplored links
- VLINK - (purple) defines the color of all visited links
- ALINK - ( ) set the color of an active link as it is being clicked.
- Format : (BODY TEXT="#RRGGBB" LINK="#rrggbb")
- COLOR CHART at http://www.phoenix.net/~jacobson/rgb.html
Objectives
- Adding images to web pages
- Color schemes
HOMEWORK
- Add the learned html tags to your webpage
- Email your webpage changes for review to the TA & Instructor
Lecture Week 7: Advanced HTML Features
- Creating Tables
Creating Tables
- (TABLE) tag - used to start the table
- (/TABLE) tag - indicates the end of the table
- (caption) or (TC) tag - a caption for your table
- (TR) - define a table row
- (TH) - define a row heading
- (TD) - define the data in a table
- (/CAPTION, /tc, /TR, /TH, AND /TD) - END TAG DELIMITERS
- (TD Nowrap) - when you do not want the text in a cell to wrap around.
- (TD ROWSPAN=nnn) - allow one cell to span two or more rows
- (TD COLSPAN=nnn) - allow one cell to span two or more columns
- (TD ALIGN=Left,Right,Center) - horizontal alignment of data in a cell
- (TD ALIGN=Top, Middle,Bottom) - Vertical alignment of data in a cell
- (Table Cellspacing=2) - default value of spaces between cells
- (Table Cellpadding=1) = space between cell border and cell contents
.
Table Example 1 - Simple Table
Table 1: Instructor Schedule
| Course | Instructor | Date |
| 210 | S.Kim | 1/15 |
| 501 | P.Garcia | 2/08 |
| 652 | R.Cody | 3/28 |
.
Table Example 2 - Table with Borders
Table 1: Instructor Schedule
| Course | Instructor | Date |
| 210 | S.Kim | 1/15 |
| 501 | P.Garcia | 2/08 |
| 652 | R.Cody | 3/28 |
..
.
Table Example 3 - Table with Borders=5
Table 1: Instructor Schedule
| Course | Instructor | Date |
| 210 | S.Kim | 1/15 |
| 501 | P.Garcia | 2/08 |
| 652 | R.Cody | 3/28 |
..
.
Table Example 4 - Table with a Width parameter
Table 1: Instructor Schedule
| Course | Instructor | Date |
| 210 | S.Kim | 1/15 |
| 501 | P.Garcia | 2/08 |
| 652 | R.Cody | 3/28 |
..
Adding images to web pages
Color schemes
Objectives
- Creating Tables
- Adding images to web pages
- Color schemes
HOMEWORK
- Add the learned html tags to your webpage
- Email your webpage changes for review to the TA & Instructor
Lecture Week 6: Creating HTML LINKS
- Relative pathnames - used locally on current website
- Absolute pathnames - used to link to another website
- Port numbers
- 21 - FTP
- 25 - TELNET
- 80 - http
- Generral syntax for writing hypertext link:
(A HREF="protocol://host.domain:prt/path/filename")TEXT / graphic(/A)
- Protocol types: http, file, gopher, telnet, ftp, wais, mailto, news.
- Host.domain : Iht internet address of the server
- Port : 21,25, 80
- Pathe/filename
- Text to hightlight
- Same Document link - Lecture Week 4
- Different document link
- Telnet to another Computer Telnet to the Duke Library catalog
- Link to a mail program Email Richie!
- Link to a newsgroup Brazillian Culture Newsgroup
Objectives
- create HTML links between HTML docs in a website
- cretae external links
- TELNET to another computer
- Link to a mail program
HOMEWORK
- Add the learned html tags to your webpage
- Begin your concept of your web page
- Next lecture - _____________________
Lecture Week 5: HTML LINKS
- Placeout Exam - Ready!
- Hypertext link is called an anchor.
- Anchor tags (A) and (/A)
- HREF Attribute - specifies a target
- Format is (A HREF = "URL address">Text or graphic to highlight in document (/A)
- clicking on the text or grahic will activate the link
- You can create HTML links to connect to:
- Another document
- Another section of the same document
- another computer - TELNET
- a downloadable file
- a mail program
- a newsgroup
Objectives
- create HTML links between HTML docs in a website
- cretae external links
- TELNET to another computer
- Link to a mail program
HOMEWORK
- Add the learned html tags to your webpage
- Begin your concept of your web page
- Next lecture - _____________________
How to Organize Web DocumentsAdditional Markup tags
- Collect the information to be placed on the website
- Organize the information into logical groups or topics
- Layout the topics to create a storyboard
- Create a graphic logo or theme for each page
The Web page
- Create a seperate Web document or page for each topic
- The start point of a website is the HOME, INDEX, or DEFAULT page.
- Provide navigation links from your homepage to other pages in your Website.
- Considerations
- inform the user through the maze of linked pages and information
- create a visual design storyboard appropriate for interactive use
- Get someone else to test the navigation of your website storyboard
- provide a link to the home page
Storyboarding
- Define the purpose of your prentation, audience or reader
- Break up your content into main topics & groups related info.
- Use an Outline or flowchart to map out your web page
- Provide the following information in each storyboard template page
- A descriptive title
- A main title
- The subheadings
- The purpose of the page
- Description of contents
- Types of images
- Description of links>
Defining the Storyboard Layout
- linear
- Hierarchical
- combination
Design of the web documents
- Divide the site content logically
- Determine the appropriate site hierarchy
- Balance creativity with the need to transmit information effectively & efficiently
- Coose the interface that facilitates information exchange
- NOTE: Hyperlinks to other websites take users away from your page (frames, pop-ups)
- A well designed site is clear and organized
- A standardized interface for all pages will help users follow your content
Key ideas for effective web sites
- Limit the number of exits from your website
- Keep external links in one place
NOTE: pop up : (A href="fxdwg93.htm" TARGET="_blank")Pictures of Richie's Harley(/a)
- Bring users back to your index page before allowing them to exit.
- avoid long paragraphs
- Do not put lists of links in paragraph form
- Use lists to itemize
- do not clutter the sight with too many images
- avoid excessive links in a paragraph
- avoid background and or foreground colors that make reading difficult
Objectives
- Descibe and discuss various layouts used in web design
- Use storyboarding techniques to design a Web site
- Discuss Web software
-
The Foundations of Web Design
HOMEWORK
- Add the learned html tags to your webpage
- Begin your concept of your web page
- Next lecture - Organizing Web documents
Lecture Week 3: Using Additional Basic Markup Tags
-
NCSA Beginners Guide to HTML
Additional Markup tags
- Horizonatal Rule (HR)
- Preformatted Text (PRE & /PRE)
- Break a text line ((BR & /BR)
- Comment ( !-- comment --)
Physical Style tags
- Boldface (B & /B)
- Italics (I & /I)
- Subscript (sub & /sub)
- Superscript (sup & /sup)
- Teletype (TT & /TT) - same as monospace or courier font
- Small print (small & /small)
- Big Print (big & /big)
- Blink (blink & /blink)
- Center (center & /center)
Special Characters & Escape codes
- The ampersand (&) is an escape symbol
- the semicolin (;) ends the escape code.
- The greater than sign > is accomplished with an & gt ;
- The less than sign < is accomplished with an & lt ;
- The ampersand sign & is accomplished with an & amp ;
- The quotation mark sign " is accomplished with an & quote ;
- The registered trade mark sign (R) is accomplished with an & reg ;
- Non-breaking space is accomplished an & nbsp ;
- Extended ASCII code syntax is accomplished by & # nnn ; (ex. & # 034 ; gives a ")
Creating Lists
- LI - List item
- Ordered Lists (OL & /OL) - numbered items (li type=I,i,A,a, or START=x)
- Unordered Lists (UL & /UL) - bulleted items (li type=disc, circle, square or UL PLAIN)
- Definition lists
- Defintion List (DL & /DL)
- Definition Topic (DT)
- Definition data (DD)
Objectives
- Additional Markup tags
- Physical Style
- Special Characters & Escape codes
- Creating Lists
HOMEWORK
- Add the learned html tags to your webpage
- Begin your concept of your web page
- Next lecture - Organizing Web documents
Lecture Week 2: Using Basic Markup Tags