If you are asking about Named Anchors this is a way to do it...

This would be the code to define the Section
PHP Code:
<a name="top">Top Section</a
The Name attribute of the A tag gives the Anchor a Name which can then be liked to with the below code

This would be the code to link to the Top Section
PHP Code:
<a href="#top">Go To Top</a
What ever name you have defined you need to href it with #< the Name you gave >

I hope you understood how it works..