tims15
11-22-2004, 11:50 AM
On some websites FAQ's they have a list of questions at the top. You click on it, and it takes you to the answer, which is on the same page but lower down (if you see what i mean). Does anyone know how to do this?
|
Click to See Complete Forum and Search --> : Query tims15 11-22-2004, 11:50 AM On some websites FAQ's they have a list of questions at the top. You click on it, and it takes you to the answer, which is on the same page but lower down (if you see what i mean). Does anyone know how to do this? CardboardHammer 11-22-2004, 11:58 AM It's an in-page anchor. http://www.w3.org/TR/REC-html40/struct/links.html#edef-A "This example illustrates the use of the id attribute to position an anchor in an H2 element. The anchor is linked to via the A element. You may read more about this in <A href="#section2">Section Two</A>. ...later in the document <H2 id="section2">Section Two</H2> ...later in the document <P>Please refer to <A href="#section2">Section Two</A> above for more details. " tims15 11-24-2004, 09:05 AM Thank you, it's just what I wanted!! webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |