• Like
  • Save

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
344
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Class 12
  • 2. Reviewing Links
    2
    Relative Links:
    • Relative to the current document
    • 3. Folder/filename
    • 4. Go up a level by using . . /
    Absolute Links
    • Full web address
  • Reviewing Links
    3
    images
    <imgsrc=“ ”>
    images/alpaca-farm.jpg
    <link href=“ ”>
    styles/style.css
    alpaca-farm.jpg
    styles
    bg.jpg
    Background-image: url( );
    ../images/bg.jpg
  • 5. Opening a Link in a New Browser Window
    The target attribute on the anchor element opens a link in a new browser window or new browser tab.
    <a href="http://yahoo.com" target="_blank">Yahoo!</a>
    4
  • 6. Using Anchor Tags
    Example:
    http://www.pptfaq.com/index.html#ListOfLinks
  • 7. XHTML Linking to Fragment Identifiers
    A link to a part of a Web page
    Also called named fragments, fragment ids
    Two components:
    The element that identifies the named fragment of a Web page. This requires the id attribute.
    <div id=“top”> … </div>
    2. The anchor tag that links to the named fragment of a Web page. This uses the href attribute.
    <a href=“#top”>Back to Top</a>
    6
    Note the use of the # in the anchor tag!