HTML链接到另一页的中间 [英] html link to the middle of another page

查看:124
本文介绍了HTML链接到另一页的中间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

同行编码器,
我只想知道是否有一个html代码可以将我链接到另一个html / php页面的中间,而不是在同一页面上。
我搜索了一些很多网站,但是我发现的所有内容都链接到同一页面的中间。
希望有人可以帮助我解决这个问题。

链接到同一页面的中间:

 < a href =otherpage.html#middleofpage>链接< /一个> 


Fellow Coders, i just want to know if there is a html code that can link me to the middle of another html/php page, not on the same page. I searched some many websites but all that i find is link to the middle of the same page. Hope someone can help me in this

解决方案

Just link to the page and use the hashtag like you would if you linking to the middle of the same page:

<a href="otherpage.html#middleofpage">link</a>

这篇关于HTML链接到另一页的中间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆