W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] Semantic styling languages in the guise of HTML attributes.

From: Michel Fortin <michel.fortin@michelf.com>
Date: Wed, 20 Dec 2006 09:18:07 -0500
Message-ID: <0A5D1F30-1A33-4B70-ADDE-D00524372281@michelf.com>
Le 20 d?c. 2006 ? 6:57, Matthew Raymond a ?crit :

>    A "presentational markup language" would be like SVG or X3D.  
> They use
> markup to create a presentation that may or may not be meaningful.

Huh, what is a "meaningful presentation" exactly? To me, what is  
meaningful content is *not* presentational. The presentation is the  
way you arrange and surround your content to make it attractive (or  
not). Your definition of SVG as "presentational" precludes it from  
being meaningful, although you specifically say it can be meaningful  
too so I'm a little confused.

SVG is simply an image description markup language, just like HTML is  
a document description markup language. SVG being presentational  
depends on how it is used. SVG may be suitable for visual media  
mostly, that doesn't automatically make it presentational.

And just like HTML, you can, to a degree, separate the meaningful  
parts from the presentational parts in an SVG image: if a color was  
chosen for presentational reasons, set it using CSS; if the chosen  
font for a block of text is not meaningful to the document, set it  
with CSS or just inherit it from the HTML document if you have inline  
SVG.


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/
Received on Wednesday, 20 December 2006 06:18:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC