Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: Arthur Wildfire! March; All

Do you or anyone know a website which explains how to create links within a page, such as “back to top” or to jump to a particular section and/or keyword within the page itself?


73 posted on 09/10/2008 10:19:17 AM PDT by ETL (Smoking-gun evidence on all the ObamaRat-Commie connections at my FR Profile/Home page)
[ Post Reply | Private Reply | To 70 | View Replies ]


To: ETL
Do you or anyone know a website which explains how to create links within a page, such as “back to top” or to jump to a particular section and/or keyword within the page itself?

W3 Schools is a handy reference. Example:

The Anchor Tag and the Name Attribute

The name attribute is used to create a named anchor. When using named anchors we can create links that can jump directly into a specific section on a page, instead of letting the user scroll around to find what he/she is looking for.

Below is the syntax of a named anchor:

<a name="label">Text to be displayed</a>

The name attribute is used to create a named anchor. The name of the anchor can be any text you care to use.

The line below defines a named anchor:

<a name="tips">Useful Tips Section</a>

You should notice that a named anchor is not displayed in a special way.

To link directly to the "tips" section, add a # sign and the name of the anchor to the end of a URL, like this:

<a href="http://www.w3schools.com/html_links.asp#tips">
Jump to the Useful Tips Section</a>

A hyperlink to the Useful Tips Section from WITHIN the file "html_links.asp" will look like this: 

<a href="#tips">Jump to the Useful Tips Section</a>

84 posted on 09/10/2008 11:10:09 PM PDT by cynwoody
[ Post Reply | Private Reply | To 73 | View Replies ]

To: ETL

Well, I know this trick:

http://www.freerepublic.com/focus/news/2078975/posts?page=72#72

Note that the number#number sends you to that particular post.

As for more info, you can FR search the key word, ‘html’. Here’s the 2008 HTML Sandbox:

http://www.freerepublic.com/focus/f-chat/2024261/posts

Maybe you could search key words there. Hope that was some help.


87 posted on 09/11/2008 4:49:42 AM PDT by Arthur Wildfire! March (Barack Milhous Obama aka HE WHO MUST NOT BE NAMED [We dare not speak his name!])
[ Post Reply | Private Reply | To 73 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson