hour 3
DESCRIPTION
TRANSCRIPT
![Page 1: Hour 3](https://reader034.vdocuments.us/reader034/viewer/2022042623/54b8c12e4a79595e068b459c/html5/thumbnails/1.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042623/54b8c12e4a79595e068b459c/html5/thumbnails/2.jpg)
Linking to Other Web Pages
Sams Teach Yourself HTML and CSS in 24 Hours, 7th Edition
![Page 3: Hour 3](https://reader034.vdocuments.us/reader034/viewer/2022042623/54b8c12e4a79595e068b459c/html5/thumbnails/3.jpg)
Objectives
Hypertext LinksAnchor TagAttributeRelative vs. Absolute
![Page 4: Hour 3](https://reader034.vdocuments.us/reader034/viewer/2022042623/54b8c12e4a79595e068b459c/html5/thumbnails/4.jpg)
Objectives
Learn the value of linkingEase of useQuickly move aboutUser can focus on interestContact information is important
![Page 5: Hour 3](https://reader034.vdocuments.us/reader034/viewer/2022042623/54b8c12e4a79595e068b459c/html5/thumbnails/5.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042623/54b8c12e4a79595e068b459c/html5/thumbnails/6.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042623/54b8c12e4a79595e068b459c/html5/thumbnails/7.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042623/54b8c12e4a79595e068b459c/html5/thumbnails/8.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042623/54b8c12e4a79595e068b459c/html5/thumbnails/9.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042623/54b8c12e4a79595e068b459c/html5/thumbnails/10.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042623/54b8c12e4a79595e068b459c/html5/thumbnails/11.jpg)
Summary
Hypertext LinksAnchor TagAttributeRelative vs. Absolute
![Page 12: Hour 3](https://reader034.vdocuments.us/reader034/viewer/2022042623/54b8c12e4a79595e068b459c/html5/thumbnails/12.jpg)
Summary
We learned the value of linkingEase of useQuickly move aboutUser can focus on interestContact information is important
![Page 13: Hour 3](https://reader034.vdocuments.us/reader034/viewer/2022042623/54b8c12e4a79595e068b459c/html5/thumbnails/13.jpg)
Creativity