Need to define two things: The destination Something to click on - - PowerPoint PPT Presentation

need to define two things
SMART_READER_LITE
LIVE PREVIEW

Need to define two things: The destination Something to click on - - PowerPoint PPT Presentation

Need to define two things: The destination Something to click on to get there Tag is <a href =>click here</a> Can be text or image Can change the text format How to know to click on an image? Always


slide-1
SLIDE 1
slide-2
SLIDE 2

 Need to define two things:

› The destination › Something to click on to get there

 Tag is <a href=…>click here</a>  Can be text or image  Can change the text format  How to know to click on an image?

slide-3
SLIDE 3

 Always link to an anchor point

 Implicit anchor point at top of page

› Anchor referenced as null

 Adding other anchor points

› Insert named anchor point › id=“anchor” on any tag

slide-4
SLIDE 4

 To point to an anchor point on SAME page

<a href=“#anchor”>link text</a> <a href=“#”>top of page</a>

slide-5
SLIDE 5

 To point to an anchor point on SAME page

<a href=“#anchor”>link text</a> <a href=“#”>top of page</a>

 In order to access anchor point on

another page

<a href=“Page#AnchorPoint”>Link text</a>

slide-6
SLIDE 6

 Long pages

› Avoid too much scrolling › Links to subsections › Link to top

 Lots of topics

› Use a “table of contents” of links

slide-7
SLIDE 7

 Use full url

<a href=“http://www.unc.edu">Link text</a>

 To force open in a new tab (window)

<a href=“http://www.unc.edu” target="_blank">Link text</a>

GOOD PRACTICE REQUIRED IN THIS CLASS