Learning Web Design - by Jennifer Robbins
5th Edition IBN: 9781491960158
Chapter 6 of *Learning Web Design* covers the fundamentals of adding links to HTML files, teaching how to create both internal and external hyperlinks. It explains the use of the `<a>` tag, along with attributes like `...
WEB Developmentchapter
In thisChapter
Elements Attributes linkingtoexternalpages
case as anchor hypertextlink here hypertextreferenceURLs linkingtodocuments onyourownserver i
ing image resourcesimagesaudiovideofiles linkingto specificpointin apage
div begins apathnamethatleads target newwindows
span backupthedirectory
Src withinimageelement torelativeURLs
id fragmentidentifier
Elements Attributes Structure
anchor ahref ur linkedcontentname a canuseHTMLcontent
imagelink ahref url singsrc imagesource alt ur site's
highdirectlink a href indexhtml Backtothehomepage as
lowdirect link a href recipespasta couscoushtml Couscous as
rootdirect a href recipessalmonhtml Garlicsalmon a
direct
current
ingpath ingsrc imagesjenskitchengif alt
up2direct ingpath ingsrc I imagesspoongifalt
simpleversion imgsrc imagesspoongif alt
linkingtofragments ps i F G cahref start He a I 5 p
freshwindow canref http www.oreilly.com target blank OReilly as
fill Url for the document includingprotocols withinthenerf
requiredforlinksthatleadoutofyourserver external
http www.oreilly.com
pathname donts
re p don'tuse backslashes l
describethepathname to afilerelativetocurrentdocument don'tstartwithdrivenames
usedwhenlinkingtootherdocumentsHTMLs withinyourownsite willonlyworkon yourcomputer
ex href recipesindexhtml don'tstartwith file I
externallink indicatesthatthefileislocalandcausesthe
linkthatleadstoanotherwebsite server link tobreak ontheserver
protocols http or https
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller deraynejordan. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $8.79. You're not tied to anything after your purchase.