Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML Open Web Page at the Bottom From Link

Tags:

html

I would like to be able to click a link and have the new web page open looking at the bottom not the top. I am new to HTML and have no clue how to approach this, any advise would help.

I am using a basic link in a unordered list

<li><a href="index.html">Home</a></li>
like image 609
Jake Avatar asked Oct 30 '25 06:10

Jake


2 Answers

You can place an anchor in your target page and link directly to that.

So something like this in index.html (at the bottom):

<a name="bottom"></a>

And then your link like this:

<li><a href="index.html#bottom">Home</a></li>

You may have to link to the full URL of the page for it to work properly (for example: http://www.yourdomain.com/index.html#bottom).

like image 134
pschueller Avatar answered Oct 31 '25 19:10

pschueller


If you have no access to the backend, you can just add "/#[id of an element on the webpage]" to the URL of the page.

For instance, you can inspect the footer and find out the ID attached to it. For this webpage that you're currently on, the ID assigned is "#footer" (right click and inspect it to check). So all you need to do is add /#footer to the end of the URL.

So, to load this page looking at the bottom, use the URL: HTML Open Web Page at the Bottom From Link

Works for all pages in the World Wide Web.

like image 36
user11088417 Avatar answered Oct 31 '25 19:10

user11088417



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!