Welcome
Arachne's Web
A group focused on serving the AW community by providing help and discussion on topics such as HTML, CSS, web design, homesite decorating, netiquette and issues important to web artists.

Code Information Center (2 threads, 1007 posts)
    General Code Q&A Forum (482 posts)
    Social Thread

    Got a question regarding code? Post it here and (hopefully) someone will answer! ...
    89 Members have made 397 Posts here to date.
    Google
    AncientWorlds.net Web
    Next: *L* Wow, you got your pick of answers on that one!
    Prev: Very simple in-page navigation
    How to create links within the same page
    Feb06Avatar.gif
    Author: * Laurels Curius - 35 Posts on this thread out of 2,713 Posts sitewide.
    Date: Oct 17, 2003 - 16:00

    Talaitha, what you are referring to are called 'anchor links'. Technically, all links are anchors really, but links that refer to a specific part of a page for either linking directly there outside of the site or within the same page are Anchor links, and they are quite simple to make. (simpler than regular links really)

    For those wondering what I'm talking about, I used them inThis Post (my spyware info post in Security section) When you click on the underlined, hyperlinked word "ZoneAlarm" for example, you are taken to the area of the post where that is explained.

    This is a regular link:

    This Post

    This is an anchor link to a specific spot within an HTML doc that is OUTSIDE of this page:

    J.Marshall's HTML Made Easy Anchors explanation

    And this is how you set up an anchor link:

    First, go to the area you wish to link TO(in this case it is 'using anchors in posts') and designate a name for it.

    NOTE: you do not need to put anything between the anchor tag and it's closing tag.

    Now, let's link to that area within this page..

    Posts , which appears as:

    Posts

    Note that the rest of the url is not necessary if it is being linked to an area within the same page. Just the pound sign and anchorname.

    Where I learned how to make anchor links: (and my favorite all-time HTML learning site, basic, but perfect)J.Marshall's HTML Made Really Easy.

    Also, now that you know you can use them in posts, keep in mind that they make excellent 'source material' references for explaining where you got some bit of text or poem. (Or Definitions, I use them often for that)


    NEXT: *L* Wow, you got your pick of answers on that one!
    PREV: Very simple in-page navigation
Rome - Rome, Season 1 - The Stolen Eagle


Copyright 2002-2011 AncientWorlds LLC | Code of Conduct and Terms of Service | Contact Us! | The AncientWorlds Staff