[thelist] comments in XHTML

Steve Cook sck at biljettpoolen.se
Mon Jan 22 11:58:31 CST 2001


XML comments are just the same as HTML - e.g. <!-- --> so they are the same
in xhtml. 

The other tag that seems at first sight to be an exception to the rules is
the
<?xml version"1.0"?> tag which in actual fact indicates a special processing
instruction (which is why PHP uses <?php CODE HERE ?> as far as I
understand).

.steve


> -----Original Message-----
> From: Zachary Mutrux [mailto:zac at monarchmedia.com]
> Sent: den 22 januari 2001 16:17
> To: thelist at lists.evolt.org
> Subject: [thelist] comments in XHTML
> 
> 
> Ahoy The List:
> 
> Are comments the same in XHTML, even though the language 
> demands that empty
> tags be closed? That is, if <img> = <img />, does <!-- --> = 
> <!-- -- />?
> That doesn't seem right.
> 
> zm
> 
> -- 
> Zachary Mutrux, Project Manager/Production Specialist
> Monarch Media : 831-457-4414 : http://www.monarchmedia.com/
> 
> 




More information about the thelist mailing list