[TxMt] start/endtag from previous word macro

Andreas Wahlin andreaswahlin at bredband.net
Sat Oct 8 20:31:10 UTC 2005


> Any reason why? I know it's not actually used in HTML but it would  
> make it easier to change to XHTML if you ever needed to. I ask  
> because I'm working on merging the HTML XHTML bundles into one and  
> simplifying it a lot in the process.

Because <img /> won't validate as strict html 4.01 :)
So, why HTML then, and not XHTML? Well I wass all for cutting edge  
XHTML yada yada, then I read in this book that there really is no  
difference AND XHTML makes some JavaScript stuff more complex if you  
really want to play by the rules.
I still have some problems not going XHTML, but then again, why?
for example, you're not allowed document.createElement('img'), but  
rather it should be document.createElementNS(... DTD path to xhtml,  
'img) instead.
The author spends little over two pages arguing that HTML is better  
than XHTML (for now). Books is DHTML utopia, from sitepoint, by  
Stuart Langridge.

I must confess I don't really know either way, but he makes a good  
argument :) So if you have any further points I'd like to hear about  
them, although it might blote the list a bit.

Andreas



More information about the textmate mailing list