Re: Custom attributes in HTML elements

Leif Halvard Silli, Wed, 10 Mar 2010 04:48:35 +0100:

> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" 
> [ 
> <!ATTLIST html class CDATA #IMPLIED>
> <?parser-hack ><!--?>
> ]> 
> <!--><?!-->

Sorry, an error. There should be a space inside the PI, before the "?>":

<?parser-hack ><!-- ?>

Hence:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" 
[ 
<!ATTLIST html class CDATA #IMPLIED>
<?parser-hack ><!-- ?>
]> 
<!--><?!-->
-- 
leif halvard silli

Received on Wednesday, 10 March 2010 04:59:17 UTC