hour 3

13
We learn by example and by direct experience We learn by example and by direct experience because there are real limits to the adequacy of because there are real limits to the adequacy of verbal instruction. verbal instruction. Malcolm Gladwell Blink

Upload: dpd

Post on 16-Jan-2015

1.939 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Hour 3

We learn by example and by direct We learn by example and by direct

experience because there are real limits to experience because there are real limits to

the adequacy of verbal instruction.the adequacy of verbal instruction.

Malcolm GladwellBlink

Page 2: Hour 3

Linking to Other Web Pages

Sams Teach Yourself HTML and CSS in 24 Hours, 7th Edition

Page 3: Hour 3

Objectives

Hypertext LinksAnchor TagAttributeRelative vs. Absolute

Page 4: Hour 3

Objectives

Learn the value of linkingEase of useQuickly move aboutUser can focus on interestContact information is important

Page 5: Hour 3

Linking to Another Web Page

Hypertext Links – words that take your from one web page to another (or same)

<a> for “anchor”Identifies a

particular spot within a web page

Page 6: Hour 3

Linking to Another Web Page

Attribute – extra piece of information

Provides further detail about the tag

We will learn more attributes as we move through the semester

Page 7: Hour 3

Linking to Another Web Page

Hypertext referencehref=“full_address”http:// inculdedAddress in “quotes”Copy and PasteIndex?Does it work?Keep it current!

<a href=“http://www.google.com/maps”>Google Maps</a>

Page 8: Hour 3

Linking Between Your Own Pages

http:// - not neededlinking to another

page in the same directory

give the file namequizzer.html

<a href=“quizzer.html”>Click here for the questions</a>

Page 9: Hour 3

Addressing Web Pages

relative addressit relates to the site

absoluteit gives the entire address

<a href=“elephants/african.html”>African Elephants</a>

<a href=“http://www.google.com/”>Google</a>

Page 10: Hour 3

Addressing Web Pages

../ - means up one level../../ - means up two levels

Right now all of our files are in the same directory (folder)

<a href=“../zoo.html”>return to the zoo</a>

Page 11: Hour 3

Summary

Hypertext LinksAnchor TagAttributeRelative vs. Absolute

Page 12: Hour 3

Summary

We learned the value of linkingEase of useQuickly move aboutUser can focus on interestContact information is important

Page 13: Hour 3

Creativity