I want to link to a section of a dynamic page using the # anchor, something like this:
LINK
When using anchor tags, you can target an element by its ID. Browsers will look for the ID before it looks for the name attribute when the link refers to such.
name
if it exists.
Here's an example
Read: HTML Anchors with 'name' or 'id'?