Your SlideShare is downloading. ×
0
Html links
Html links
Html links
Html links
Html links
Html links
Html links
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Html links

825

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
825
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
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. HTMLLINKS
  • 2. Anchor Tag and Href Attribute HTML uses the <a> (anchor) tag to create a link to another document. It can point to any resource on the Web: an HTML page, an image, a sound file, a movie, etc. The syntax of creating an anchor: <a href="url">Text to be displayed</a>
  • 3. Anchor Tag and Href Attribute • <a> tag - used to create an anchor to link from • href attribute - used to address the document to link to • element content - will be displayed as a hyperlink e.g. <a href="http://www.yahoo.com/">Visit Yahoo!</a>
  • 4. Anchor Tag and Name Attribute >>> used to create a named anchor >>> allows you to jump directly to a specific section within the page syntax: <a href="url#label">content</a> <a name="label">content</a>
  • 5. Anchor Tag and Target Attribute >>> The target attribute is used to specify where the linked document will be opened To open a linked document in a new window, use the attribute target="_blank"
  • 6. Anchor Tag and Target Attribute e.g. <a href="url" target="_blank">Content</a>
  • 7. Mailto Link >>> allows you to link to a mail message e.g. <a href="mailto:me@here.com">Mail Me!</a>

×