Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the meaning of # in URL and how can I use that?

Tags:

url

I often found some URL which looks like the following:

www.something.com/some_page/#someword 

After writing this page some_page will be open and then scroll will be set so that I can see that "someword" at beginning of my screen.

I don't know what the meaning of "#" is. As soon as I make #someotherword with any URL it works sometimes and sometimes it doesn't.

I am not getting what # is in the URL. Is it any functionality of any language or URL or something else?

It might be possible that you consider my question newbish, but I am not into web-designing technologies, I am simply curious about it.

I am not the owner of some website, but when I am concerned with some particular portion of some web page then how can I give the URL with # and give that URL to another?

I am concerned with the answer portion on my profile, and then I will prepare the URL just below and will give it to somebody.

https://stackoverflow.com/users/775964/mr-32#answers

This works, but some time it doesn't.

https://stackoverflow.com/users/775964/mr-32#tags

That doesn't work.

I am just a user and I don't want to know in which language the website is build.

like image 686
Jeegar Patel Avatar asked Nov 19 '11 08:11

Jeegar Patel


People also ask

What is the meaning of :/?

What Does :/ Mean? :/ is an emoticon used to indicate indecision, skepticism, exasperation, and annoyance. The emoticon :/ is one of the most difficult to define. It can indicate a wide range of emotions, including (but not limited to) indecision, skepticism, exasperation, and annoyance.

Whats does 3 mean?

Definition of three 1 : a number that is one more than 2 — see Table of Numbers. 2 : the third in a set or series the three of hearts. 3a : something having three units or members. b : three-pointer. Other Words from three More Example Sentences Phrases Containing three Learn More About three.

What is a number of meaning?

Definition of a number of : more than two but fewer than many : several There are a number of different options to choose from.


1 Answers

Originally it was used as an anchor to jump to an element with the same name/id.

However, nowadays it's usually used with AJAX-based pages since changing the hash can be detected using JavaScript and allows you to use the back/forward button without actually triggering a full page reload.

like image 164
ThiefMaster Avatar answered Oct 12 '22 00:10

ThiefMaster



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!