Free WebSchools.com

Google



Submit Article ForumsLive chat WebhostingSEO ToolsLink TO UsResources


HOME

HTML Basic

HTML Introduction
HTML Basic Tags
HTML Formatting

HTML Entities
HTML Links
HTML Frames
HTML Tables



HTML Lists
HTML Forms
HTML Images

HTML Background
HTML Colors




HTML Advanced
HTML Fonts
HTML Styles
HTML Head
HTML Meta

HTML Scripts
HTML Events





Basic Html Linkling Idiom



The basic linking idiom in HTML is that of a unidirectional pointer from the source of the link to its destination. The end points are refered to as "anchors" in the hypertext literature. This motivates the choice of 'a' for the tag name for HTML elements acting as hypertext links ('a' is an abbreviation of 'anchor'). Many hypertext links in HTML documents name other HTML documents, e.g.

See <a href="http://www.freewebschools.com">Visit freewebschools!!!!</a> for further information.




The A element (delimited by and tags) represents an anchor, one endpoint of a link. Each link has a source anchor and a target anchor. The HREF attribute refers to the target anchor by its URL.
When an HTML user agent presents this idiom to the user, the source anchor represents an opportunity for the user to traverse the link and visit the target anchor, and the user agent should select an appropriate user interface idiom to stylize the anchor and allow navigation. GUI applications typically provide visual cues such as text color or underlining with a different mouse cursor, and point-and-click navigation. Keyboard and cursor key selection is another mechanism, which is suitable for text-based applications as well.

What is URL?


HTML has ablity to hyperlink from one place to another.all webpages internet resources,files have address. that address is known as

uniform resources locator or URL


Note

Note that the target anchor will not necessarily be another HTML document. Traversing a link may invoke a software program, or present audio, graphics, video, print, speech synthesis or braille.

html Link

The following HTML excerpt contains two links, one whose destination anchor is an HTML document named "html_formatting.html" and the other whose destination anchor is a GIF image in the file "rose.gif":
<BODY>
you can put any text here...
<P>You'll  find   <A href="html_formatting.html"> html text formatting here</A> <br>
See also this <A href="images/rose.gif">red rose.</A>
</BODY>
Output
you can put any text here...

You'll find html text formatting her.
See also this red rose.

The Target Attribute

With the target attribute, you can define where the linked document will be opened. The line below will open the document in a new browser window:
<a href="http://www.webschools.com/" target="_blank">Visit webschools!</a> Output
Visit Webschools!

Name Attribute

The name attribute is used to create a named anchor. When using named anchors we can create links that can jump directly into a specific section on a page, instead of letting the user scroll around to find what he/she is looking for.
Below is the syntax of a named anchor:

<a name="label">Text to be displayed</a>

web hosting


iPower