[Project_owners] php file execution for trusted projects

Matthew Wilson matthew at mjwilson.demon.co.uk
Mon Oct 4 09:01:55 PDT 2010

On 04/10/2010 13:55, Benoit Renard, msnmsgr wrote:
> Matthew Wilson wrote:
>> I don't buy that all. If I write a mathematical formula using <sup> or
>> a chemical formula using <sub> then that's semantic.
> The sup and sub elements have no semantic meaning assigned to them.
> Their only (aesthetic) meaning is "supscripted text" and "subscripted
> text", respectively. Please do some research.

I did, and here's what I found.

HTML 4.01 discusses the elements in the context of "Structured text". 
Specifically, it says that "Elements that present text (alignment 
elements, font elements, style sheets, etc.) are discussed elsewhere in 
the specification." In other words, HTML 4.01 does not consider them to 
be presentational elements.


In addition, in the specific section for sub and sup, the first two 
examples, similar to the ones I gave above, are clearly semantic. (I 
won't judge the third example, as I'm not a French speaker.)


As far as I can see, the elements are neither deprecated nor obsoleted 
in HTML Strict or XHTML Strict.

HTML5 is quite explicit that these elements are semantic. They are 
listed in the section "Text-level semantics" and the accompanying text 
is unambiguous:
"These elements must be used only to mark up typographical conventions 
with specific meanings, not for typographical presentation for 
presentation's sake. "


W3C's accessibility guidelines also list these elements as semantic:

"Some semantic elements are not supported well by assistive 
technologies. Elements and attributes that are known to have limited 
support include code, del, dfn, ins, kbd, s, sub, sup, tt, and q."



More information about the Project_owners mailing list