HTML: Anchor Tag IV

Author: Ronald S. Holland
at
Total Application Works




To contact us



HOME] Consulting Design Maintenance Project Testing Training Turnkey Java C++ SQL HTML JavaScript ]

© 2002 - 2013 All Rights Reserved Total Application Works


    Tell a friend about this site (copy and paste the following HTML page into a file (e.g., using Notepad).)
    <html>
    <head>
    <title>Example of a link </title>
    </head>
    <body>
    <a href="http://sumtotalz.com/TotalAppsWorks/HTML/What_is_a_Target_Link.html">
    Anchor Tag </a>
    </table>
    </body>
    </html>


Introduction

The purpose of this tutorial is to show you how to write a HTML page using the ANCHOR tag. What is HTML (HyperText Markup Language)? HTML is a layout/tag language that is used to organize text and/or images on a web page. In the following example, we will show you the code for our page examples that use the ANCHOR tag. The <ANCHOR> tag allows the user to jump to a different block/section in the same HTML document or to a different HTML document/web page. You will find that links are found in virtually all Web pages. Links allow users to navigate from page to page with a simple click of the mouse.

What is a target link?

A target link allows you to open another page in a second browser window,

Source Code Displayed by your Browser
<a HREF="http://www.sumtotalz.com/TotalAppsWorks/ProgrammingResource.html" TARGET="main">Open a second window.</a>

Open a second window.

Click on Your Open a second window above
Figure 4: Open a new window with destination web page


In Figure 4, we specifIed a target window for a hyperlink. This is where the linked page will open.