W3C home > Mailing lists > Public > www-html@w3.org > August 2006

sub/sup (was Re: samp, kbd, var)

From: Patrick H. Lauke <redux@splintered.co.uk>
Date: Tue, 22 Aug 2006 18:11:22 +0100
Message-ID: <44EB3ABA.6050305@splintered.co.uk>
To: XHTML-Liste <www-html@w3.org>

Along the same lines, what about sub and sup? To me, they seem 
dangerously close to presentational markup, unless someone can enlighten 
me as to what the semantic meaning of these two elements is...

The examples given at 
http://www.w3.org/TR/xhtml2/mod-text.html#sec_9.12. aren't making it any 
clearer:

H<sub>2</sub>O
E = mc<sup>2</sup>

Surely this should be marked up more rightly with something like MathML?

<span xml:lang="fr">M<sup>lle</sup> Dupont</span>

As the line just above the example states: "Many scripts (e.g., French) 
require superscripts or subscripts for proper rendering." So, 
"rendering" to me again suggests visual, unless you're suggesting that 
if "lle" isn't set as sup (when other forms of styling are 
disabled/unavailable), Mlle loses its meaning (which I'd contest).

P
-- 
Patrick H. Lauke
__________________________________________________________
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
__________________________________________________________
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__________________________________________________________
Received on Tuesday, 22 August 2006 17:11:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:07 GMT