Links; Part 3: The Anchor Tag and the Name Attribute


HTML Code
  1. <a name="name">Text to be displayed</a>


HTML Code
  1. <a href="https://www.rmb-scripting.com/home.php#name">
  2. Example</a>


OR

HTML Code
  1. <a href="#name">Example 2</a>


<a name;Beginning of the Anchor tag;
"name">;The anchor;
Text to be displayed;The text they will be displayed when they click the link;
</a>;Ending;

The link, <a href="#name">Example 2</a>, links them to the portion of the website where you have the <a name="#name"> at.

Remember!
This is a tutorial. Do not just copy and paste, this is an EASY tutorial. If you want to learn it, just type it or read over this tutorial everytime you forget. Just please, do not copy and past.
Joshua's Avatar
Author:
Views:
2,051
Rating:
There are currently no comments for this tutorial, login or register to leave one.