On my main page, I want to link to another page (inside the page)
I have <a href="26_001.htm#Time">Time</a>
26_001.htm is the page - #Time is the area in the page
On the page to be linked to I have <a name="Time">Time</a>
I found .html does not work but .htm does. It goes to that page but
Time does not go to <a name="Time"> the area in the page ???
I checked several instructions on anchors and links to verify it was correct.
What can I do to correct it ? Why does .htm work and .html not work ?
<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Typically nowadays you use the ID attribute though the files .htm and .html are two different files respectably. Therefore <a href="index.htm#example"> differs to <a href="index.html#example"> they'd go to two different files. You obviously don't have a file of the correct name containing; #Time with the *.html extension so it should go nowhere specific on the latter page.
Thank You. That should help.
This topic is now closed. New replies are no longer allowed.