[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

use <a> for hancors without content, not <span>

From: Patrice Dumas
Subject: use <a> for hancors without content, not <span>
Date: Sun, 26 Dec 2021 18:33:15 +0100


Currently <span id="id"></span> is used for anchors, whether they
originate from @anchor, in some cases from @node and sectionning
@-commands, @*index, ...  It is syntactically correct, but I think that
it would be semantically better to use <a> and keep <span> for inline
text that needs some kind of formatting information.

Also I propose to add class to the anchors to distinguish their source.

Any opposition/idea?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]