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 

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).

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
Web Standards Project (WaSP) Accessibility Task Force
Received on Tuesday, 22 August 2006 17:11:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:14 UTC