HTM34


BACK

DESCRIPTION

OUTPUT

SOURCE CODE






DESCRIPTION:

     The tag defines an anchor or a link, which allows you to jump from one card/deck to another. The tag always has a task (�go�, �prev�, or �refresh�) specified. The task defines what to do when the user selects the link.

NAME � is where we link to specific locations within a web page. We can link to a location within the same web page, or we can link to another web page and to a specific location on that page.


..Back to the top..



OUTPUT:


HTM34. Anchors Web pages
Table of Contents
Document structure tags
Text and text tags
Links and link tags
Developing HTML documents

Document structure tags
A well-structured HTML document�
Return to table of contents

Text and text tags
One of the main elements of a Web�


..Back to the top..



SOURCE CODE:



<HTML>
<HEAD><TITLE>HTM34. Anchors Web pages</TITLE></HEAD>
<BODY>
<! Define a destination tag->
<A NAME = �Contents�><B>Table of Contents</B></A><BR>
<! Define source tags->
<A HREF = �#Section1�>Document structure tags</A><BR>
<A HREF = �#Section2�>Text and text tags</A><BR>
<A HREF = �#Section3�>Links and link tags</A><BR>
<A HREF = �#Section4�>Developing HTML documents</A><BR>
<! Define destination tag for Section1 source tag->
<P>
<A NAME = �Section1�><B><I>Document structure tags</I></B></A><BR>
A well-structured HTML document�<BR>
<! Define a source tag for the first destination tag on the top->
<A HREF = �#Contents�>Return to table of contents</A>
<! Define destination tag for Section2 source tag->
<P>
<A NAME = �Section2�><B><I>Text and text tags</I></B></A><BR>
One of the main elements of a Web�<BR>
</BODY>
</HTML>


..Back to the top..