A few answers, but none of them cover the main part.
Regular URL, your own example: https://www.google.com/analytics/web/?hl=en#report/visitors-language/a33185827w60383872p61754588/
You can think of the post-hash part (including the hash) (aka Fragment) as a client request.
The web server will never know what was entered after the hash sign. This is a browser pointing to a specific page identifier.
For basic web pages, if you enter
< a name="main">welcome< /a>
, and if your site is located at
http://example.com/welcome , opening
http://example.com/welcome#main will βfocusβ your browser on the βwelcomeβ text in the tag.
The web server will not know if #main was in the url or not.
The contents of the URL after the question mark are called as URL parameters. The web server can provide different content for these values.
Then there is a technology called "Ajax" that uses this # part in the URL to deliver various content without loading the page. These are not iframes. Using JavaScript, you can trigger a change in the post-hash of the URL and make a request to the server to get a specific part of the page. http://example.com/welcome#main2 Even if the part with the name "main2" does not exist, you can show it using JavaScript.
Hashbang is "#!" This will make life easier for search engines by indicating that this part is a dynamic web page.
PS: They just noted that this is my 100th answer in SO!
source share