Sign In/My Account | View Cart  
advertisement

Article:
 XHTML is the Most Important XML Vocabulary
Subject: Wrong usage of the 'class' attribute on
Date: 2003-05-23 02:21:17
From: J D

The XHTML2 draft spec linked to specifies <blockcode> as only using the 'Common' attribute collection (http://www.w3.org/TR/2003/WD-xhtml2-20030506/mod-block-text.html#edef_block-text_blockcode), ie 'class' in this case is for presentation (style) purposes only.


I'd speculate that it's only used in the example to illustrate how you might differentiate code samples of different types(presentationally). It should perhaps explicitly say that in the spec...


No Previous Message Previous Message   Next Message Next Message


Full Text Titles Only Newest First

Sponsored By: