W3C home > Mailing lists > Public > public-html@w3.org > January 2008

Re: Underline element.

From: Patrick Garies <pgaries@fastmail.us>
Date: Mon, 14 Jan 2008 12:04:35 -0600
Message-ID: <478BA433.50902@fastmail.us>
To: public-html@w3.org

[I’m forwarding this to the list since I forgot to CC it; instead, I 
only sent it to Oliver.]

Olivier GENDRIN wrote:
>  If we care about waving underlines for chinese, we could also care to
>  have a cartouche around names in old egyptian...
>  In fact, that just indicate that we could need a <term>, <name> or
>  <cite> element (<cite> exists, but we could have to give it a better
>  semantic).

I think that those styles are outside the scope of HTML 5 and something
for CSS or, perhaps, Unicode to deal with.

I do think that a name element could be useful though. You could use it
in ideographic languages to distinguish the name from surrounding text,
to distinguish between given and surnames (e.g., in a translation from a
language where names conventionally appear in reversed order), and as a
styling anchor for the mentioned and other text effects.

<name lang="en-Latn"><given>Patrick</given> <sur>Garies</sur></name>
<name lang="en-Kana"><given>パタリック</given><sur>ゲリス< /sur></name>

sur:lang(en-Latn) { text-transform: uppercase; }
sur:lang(en-Kana)::before { content: "·"; /* U+00B7 */ }

— Patrick Garies
Received on Monday, 14 January 2008 18:04:50 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:25 UTC