.. include:: ../../Includes.txt
.. _consideration:
==============
Considerations
==============
**By default,** this extension will generate the following HTML markup for
TYPO3 content element headers:
.. code-block:: html
This is the header of an interesting part of my article
#
As you can see, the fragment identifier is used as an ``id`` attribute in HTML.
This ``id`` can then be referenced in a link.
.. _potential-issue:
Potential issue
---------------
.. warning::
A URL fragment could accidentally match the ``id`` of an element in the
website's HTML template (e.g. "#main-navigation").
This template-related identifier could be styled with CSS, or be accessed with
JavaScript. Most likely, this would end in unexpected side effects.
By adding the uid of the current TYPO3 content element, we'll circumvent this
potential issue.
.. tip::
You can **remove or adapt the default prefix** or configure a **suffix** instead.
The extension provides :ref:`TypoScript configuration `
with stdWrap support for this.