Re: Language for taxonomic names, redux

Andrew Cunningham <[email protected]>
Newsgroups gmane.ietf.languages
Message-ID <CAGJ7U-W1FG-y_Xpu6fp_vu1p-WYfVMy_WY12823f_WJZbxaf4g@mail.gmail.com>
On Tuesday, 28 February 2017, Luc Pardon <[email protected]> wrote:
>
>
> On 28-02-17 00:59, Arthur Reutenauer wrote:
>> I feel that some of us here have difficulties
>> understanding how the language tag makes any difference, since you have
>> to provide a styling tag anyway.
>
>   A separate styling tag is not needed. The css can be hooked to the
> language tag directly, i.e.:
>
>   .lang(la-taxon) {
>         font-style: italic;
>   }
>

A more semantic approach would be to use

<i class="taxonomy" lang="la-taxon"></i>

And the the I element can be styled as required by surrounding language.
The I element would be the semamtic html5 to use.

Then css overrides could be used for i.taxonomy to overide italicisation
for scripts, languages or typesetting conventions that do not use an italic
face in this context.


Andrew



-- 
Andrew Cunningham
[email protected]

_______________________________________________
Ietf-languages mailing list
[email protected]
http://www.alvestrand.no/mailman/listinfo/ietf-languages
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.