you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 1 year ago (4 children)

Ok so I think I'm the first person in the comments to actually click to read the article, cause I'm gonna say something I'm not seeing.

How did you get it to auto snap to the article comment section?
Didnt realize you could share that and it wouldn't default to the article.

  • source
  • hideshow 4 child comments
  • [–] 6 points 1 year ago*

    Everything after the # character in the URL is called an anchor and it's not actually being sent to the website server so it's meant for your browser (though the server can see it using javascript). The anchor can point to any ID in the HTML of the web page and browser will scroll it into view on page load. You can find the ID of any element using right click -> inspect though not all elements have explicit ids.

  • source
  • parent