I have a FAQ in HTML ( example ) in which questions relate to each other a lot. This means that whenever we insert / delete / rearrange questions, the numbering changes. LaTeX solves this very elegantly with \ label and \ ref - you give the elements simple tags, and LaTeX is worried about converting to numbers in the final document.
How do people deal with this in HTML?
ADDED: Please note that this is not a problem if you do not really need to reference the elements by number, in which case you can set the tag
<a name="foo">
and then link to it using
<a href="#foo">some non-numerical way to refer to foo</a>.
But I assume that "foo" has some auto-generated number, for example, from a list <ol>, and I want to use this number to reference and link to it.
source
share