390 likes | 520 Views
WRITING LINKS. <a href="http://www.imdb.com">IMDB</a>. THE PAGE THE LINK TAKES YOU TO. WRITING LINKS. <a href=" http://www.imdb.com ">IMDB</a>. THE PAGE THE LINK TAKES YOU TO. THE TEXT THE USER CLICKS ON. WRITING LINKS. <a href=" http://www.imdb.com "> IMDB </a>.
E N D
WRITING LINKS <a href="http://www.imdb.com">IMDB</a>
THE PAGE THE LINK TAKES YOU TO WRITING LINKS <a href="http://www.imdb.com">IMDB</a>
THE PAGE THE LINK TAKES YOU TO THE TEXT THE USER CLICKS ON WRITING LINKS <a href="http://www.imdb.com">IMDB</a>
LINKING TO OTHER SITES <a href="http://www.empireonline.com"> Empire</a>
LINKING TO OTHER PAGES ON THE SAME SITE <a href=”index.html”>Home</a><a href=”about.html”>About</a><a href=”movies.html”>Movies</a><a href=”contact.html”>Contact</a>
DIRECTORY STRUCTURE examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html
ROOT FOLDER DIRECTORY STRUCTURE examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html
DIRECTORY STRUCTURE examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html CHILD
DIRECTORY STRUCTURE examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html CHILD PARENT
DIRECTORY STRUCTURE examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html CHILD PARENT GRANDCHILD
DIRECTORY STRUCTURE examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html CHILD PARENT GRANDCHILD GRANDPARENT
RELATIVE URLS examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html
SAME reviews.html RELATIVE URLS examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html
SAME reviews.html CHILD music/index.html RELATIVE URLS examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html
CHILD SAME music/index.html reviews.html PARENT ../index.html RELATIVE URLS examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html
PARENT CHILD SAME ../index.html music/index.html reviews.html GRANDCHILD movies/dvd/index.html RELATIVE URLS examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html
GRANDCHILD PARENT CHILD SAME movies/dvd/index.html ../index.html music/index.html reviews.html GRANDPARENT ../../index.html RELATIVE URLS examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html
EMAIL LINKS <a href="mailto:jon@example.org">Email Jon</a>
EMAIL LINKS <a href="mailto:jon@example.org">Email Jon</a>
OPENING LINKS INA NEW WINDOW <a href="http://www.imdb.com" target="_blank">IMDB</a> (opens in a new window)
OPENING LINKS IN A NEW WINDOW <a href="http://www.imdb.com" target="_blank">IMDB</a> (opens in a new window)
LINKING TO A SPECIFIC PART OF THE SAME PAGE <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a>
LINKING TO A SPECIFIC PART OF THE SAME PAGE <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a> <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a>
LINKING TO A SPECIFIC PART OF THE SAME PAGE <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a> <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a> <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a>
LINKING TO A SPECIFIC PART OF THE SAME PAGE <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a> <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a>
LINKING TO A SPECIFIC PART OF THE SAME PAGE <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a> <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">Top</a>
SUMMARY Links are created using the <a> element.
SUMMARY The <a> element uses the href attribute to indicatethe page you are linking to.
SUMMARY If you are linking to a page within your own site, it is best to use relative links rather than qualified URLs.
SUMMARY You can create links to open email programs with an email address in the "to" field.
SUMMARY You can use the id attribute to target elements within a page that can be linked to.