80s toys - Atari. I still have

WapZero
mobile information, download, service and tricks




Hyperlink HTML

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 <a>, is used to define both hyperlinks and anchors.
We will use the term HTML link when the <a> element points to a resource, and the term HTML anchor when the <a> elements defines an address inside a document..

An HTML Link

Link syntax:



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.

The href Attribute

The href attribute defines the link "address".
This <a> element defines a link to WapZero:



it will be like this : WapZero

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:



it will be like this : WapZero