Malioglasnik.com.hr

[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
HTML Links
BassoDate: Wednesday, 2010-05-05, 10:59 PM | Message # 1
Group: Moderator
Messages: 1637
Awards: 2
Reputation: 695
Status: Offline

Hyperlinks, Anchors, and Links

In web terms, a hyperlink is a reference (an address) to a resource on the web.

Hyperlinks can point to any resource on the web: an HTML page, an image, a sound file, a movie, etc.

An anchor is a term used to define a hyperlink destination inside a document.

The HTML anchor element , is used to define both hyperlinks and anchors.

We will use the term HTML link when the element points to a resource, and the term HTML anchor when the elements defines an address inside a document..

 
If you have a problem about Intellectual property rights violation,

Please Contact Us we remove all content within 24 hours.



BassoDate: Wednesday, 2010-05-05, 11:27 PM | Message # 2
Group: Moderator
Messages: 1637
Awards: 2
Reputation: 695
Status: Offline

An HTML Link

Link syntax:

Code
<a href="url">Link text</a>

The start tag contains attributes about the link.

The element content (Link text) defines the part to be displayed.

Note: The element content doesn't have to be text. You can link from an image or any other HTML element.

 
If you have a problem about Intellectual property rights violation,

Please Contact Us we remove all content within 24 hours.



BassoDate: Wednesday, 2010-05-05, 11:29 PM | Message # 3
Group: Moderator
Messages: 1637
Awards: 2
Reputation: 695
Status: Offline

The href Attribute

The href attribute defines the link "address".

This element defines a link to W3Schools:
Code
<a href="http://brna.my1.ru/">Visit www.brna.my1.ru</a>


The code above will display like this in a browser:

Visit www.brna.my1.ru
 
If you have a problem about Intellectual property rights violation,

Please Contact Us we remove all content within 24 hours.



BassoDate: Wednesday, 2010-05-05, 11:30 PM | Message # 4
Group: Moderator
Messages: 1637
Awards: 2
Reputation: 695
Status: Offline

The target Attribute

The target attribute defines where the linked document will be opened.

The code below will open the document in a new browser window:
Example
Code
<a href="http://brna.my1.ru" title="www.brna.my1.ru" target="_blank">Visit www.brna.my1.ru</a>


Visit www.brna.my1.ru
 
If you have a problem about Intellectual property rights violation,

Please Contact Us we remove all content within 24 hours.



  • Page 1 of 1
  • 1
Search:
Forum Advice
Security advice: Protect your identity when downloading!
Your real identity and ip address is visible while downloading. These days, everyone's looking to throttle your connection, spy on what you're downloading, or even send you an ominous letter. If you use BitTorrent, you absolutely need to take precautions to hide your identity. An easy and raliable solution is a VPN by hide.me. Hide.me doesn't store any logs and offers blazing fast connections.Hide.me VPN is trustedby more than 500.000 internet users worldwide and recommended by Brna.my1.ru.