Hi, I have an HTML page of several elements. Is there a way to generate links to a specific element so that the link takes someone to a page containing ONLY that element?
In a way, I want something similar to URL fragments, so the link would be something like www.example.com/foo.html#bar (not necessarily that syntax or using # symbol)
The link would take the user to a page where only element bar is displayed instead of the whole foo.html page scrolled down to bar (like how URL fragments work)
I can get the ID of the element when the user clicks on the "generate link" button of that element, but I am not sure what to do after that. Do I create a new HTML page? Is there some other tricks that makes this easier?
Thanks in advance.