[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: replacing acronym and tt HTML elements
From: |
Patrice Dumas |
Subject: |
Re: replacing acronym and tt HTML elements |
Date: |
Sun, 7 Aug 2022 15:29:22 +0200 |
On Fri, Aug 05, 2022 at 06:33:33PM +0100, Gavin Smith wrote:
> > acronym HTML element replaced by abbr, and tt by a span, where there is
> > no semantics for the tt, for example with @t. This would lead to
> >
> > <abbr class="acronym">
> > <span class="t">
> >
> > span.t => font-family: monospace;
> >
> > Does it looks ok?
>
> @t should already output <code>; I thought I changed this a few months ago.
I think that for @t, it would be better to use
<span class="t"> and have span.t => font-family: monospace; as I propose
above, as @t has no semantic interpretation of code. (For all the other
places where we used <tt> before, <code> is most likely better.)
> If there is anywhere left in texi2any which outputs <tt> (not from @t),
> then we could consider it case by case.
there was a place, table term within @example. For that <code> seemed
better to me.
--
Pat