来个例子你看看.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD><BODY>
<input type="button" value="tttt" onClick="alert(screen.height)">
<a href="#here">fff</a>
fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>
fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>fdsafdsafdsafd
<br>
fdsafdsafd
<br>
safdsafdsa
<br>
fdsafdsa
<br>
<a name="here">
你想要的位置Our final stop has the job of finishing what EditSubscriptionAction.java and subscription.jsp started. After the usual logic and error checking, SaveSubscriptionAction either deletes or updates the subscription object being handled by this request, and cleans up the bean, just to be tidy. By now, you should be very comfortable reading through the source on your own, to pickup the finer points.This concludes our tour. To review, you may wish to trace the path a new user takes when they register with the application for the first time You should also read over each of the .java and JSP files carefully, since we only covered the high points here. 
</BODY>
</HTML>

解决方案 »

  1.   

    <a href="#test">test</a>
    <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
    <a name="test"><b>test</b></a><br>
    testtesttesttesttesttesttesttesttesttest
      

  2.   

    上面有点乱,看这个清楚点的例子.估计你说的就是一个锚点!
    链接<a href="#here">说明</a>,就是在连接的前面加上#号.
    加上<a name="here">获得位置.<HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    </HEAD>
    <BODY>
    <a href="#here">说明</a>
    111111111111111111
    <br>
    11111111111111111
    <br>
    1111111111111111111
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>fdsafdsafdsafd
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>fdsafdsafdsafd
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>fdsafdsafdsafd
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>fdsafdsafdsafd
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>fdsafdsafdsafd
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>fdsafdsafdsafd
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>fdsafdsafdsafd
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>fdsafdsafdsafd
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>fdsafdsafdsafd
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>
    11111111111111111
    <br>
    <a name="here">
    你想要的位置Our final stop has the job of finishing what EditSubscriptionAction.java and subscription.jsp started. After the usual logic and error checking, SaveSubscriptionAction either deletes or updates the subscription object being handled by this request, and cleans up the bean, just to be tidy. By now, you should be very comfortable reading through the source on your own, to pickup the finer points.This concludes our tour. To review, you may wish to trace the path a new user takes when they register with the application for the first time You should also read over each of the .java and JSP files carefully, since we only covered the high points here. 
    </BODY>
    </HTML>
      

  3.   

    <a href=标签>相应显示的地方</a><a name=标签>相应显示的地方</a>