|
From: | Per Bothner |
Subject: | Re: use <a> for hancors without content, not <span> |
Date: | Sun, 26 Dec 2021 10:18:55 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 |
On 12/26/21 10:12, Patrice Dumas wrote:
But there is nowhere where id in a lone element is proposed, so this argument is not very compelling not to use <a> for that purpose. <a> was used for that semantically before, while <span> is explicitely described as being relevant in relation to its content. For those reasons, it still seems to me that <a> is better than <span> and actually the best choice among elements.
Using <a> this way makes me a little uncomfortable, but I don't have a strong objection. -- --Per Bothner per@bothner.com http://per.bothner.com/
[Prev in Thread] | Current Thread | [Next in Thread] |