What is the easiest way to get an anchor to a title?

I have a document with various sections, each of them with it’s title. I’d like to get a link to the sections so I could send the link by email.
For example in some editors, you get the link to the anchor once you hover the mouse on those titles.
What would be the proper way to do it in xwiki.

The easiest solution, for a simple user, is to add a Table of Contents macro on that page. The table of contents should give you the links to the page sections. Alternatively, for technical users, you can use the browser’s developer tools to inspect the section heading (title), take the value of the id attribute (starts with H normally) and append it to the current page URL as a fragment identifier.

Thanks Marius, I tried this and it works perfectly.