Charbel Charbel - 5 months ago 9
PHP Question

html link to the middle of another page

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

Answer

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>
Comments