HTML linking to a 'specific part' of the same/different page

Anything helpful to authoring your own WebSite.

Moderator: Avalon

Post Reply
Avalon
Site Admin
Posts: 6
Joined: 2019 Oct 18, Fri 16:40

HTML linking to a 'specific part' of the same/different page

Post by Avalon »

:idea: In order to create a LINK to a 'specific part' of the same page OR a different page, you need to employ the <a href=""></a> and <a name=""></a> HTML Tags.

:arrow: EXAMPLE:

(** I named the 'specific part' locator #AOLP because I wanted to link to the Administrative & Other Links/Pages Section of my Home Page.)

1. This HTML Code goes in as the 'Link To' ...

<a href="https://www.edenrealm.com/MartinEdensHomePage.html#AOLP">
<font color="#99CC00">Go To ></font>
</a>


2. This HTML Code 'Receives' (Note: I've put it in just above the Section's Heading) ...

<br />
<a name="AOLP"></a>
<br />
<div align="left">
<h2>Administrative & Other Links/Pages:</h2>
</div>
<|Á|>AVALON<|Á|>
PendragonImageVI
Post Reply