0

i have create a bookmarke in a php code like this:

    echo "<a name ='Start'></a>";

I had create a hyperlink to this bookmarks with the following code

echo "<th colspan='3'><a href ='#Start'><font color='black'>Jump to start</a></th>";

But it dosn't work...

Whats wrong?

Everyone thanks for help!

D-T
  • 45
  • 3
  • Does this answer your question? [Linking to a specific part of a web page](https://stackoverflow.com/questions/15481911/linking-to-a-specific-part-of-a-web-page) – El_Vanja Mar 30 '21 at 15:53
  • What doesn't work? have you enough content between target and link to get page scrolling? Your code is more or less valid, so it does work. juest tested with `echo "start
    "; for ($i = 0; $i < 999; $i++) echo 'foo
    '; echo "'Jump to start'";`
    – biesior Mar 30 '21 at 16:03
  • 1
    BTW `` tag is kinda oldschool and [depreciated in HTML5](https://www.w3schools.com/tags/tag_font.asp), use CSS styling instead – biesior Mar 30 '21 at 16:07
  • 1
    `name ='Start'` is the old way. Use an ID instead. `id='Start'` – j08691 Mar 30 '21 at 17:04

0 Answers0