php - How can I go dynamically heading to heading description?

one text

Solution:

Create an Anchor link

Example link:

Use # then any name you like in the href.

<a href="#myanchorlink">Link</a>

Example target:

<h2 id="myanchorlink">

or

<div id="myanchorlink"></div>

When the link is clicked the page will move to that anchor link id.

Source