Time to change "HTML Tags" clip to be XHTML compli
Posted: Wed Apr 20, 2005 3:44 pm
In the advent of XHTML, maybe it's time to change the "HTML Tags" clip to follow the tendance.
It's actually not really hard to do so, just a few changes and some precautions:
* all tag names are in small letters, and attribute names as well.
* elements without closing tag have to use "/" before ">". For example, use <br /> instead of <br>. But of course, Textpad isn't supposed to check if user doesn't do so. But those generated from the clip could be made compliant.
* all attribute values have to be delimited in quotes or double quotes, even for numeric values. So for example in Table clip, border=0 has to correct to border="0".
I think that's it, but if I forgot anything, please tell so.
It's actually not really hard to do so, just a few changes and some precautions:
* all tag names are in small letters, and attribute names as well.
* elements without closing tag have to use "/" before ">". For example, use <br /> instead of <br>. But of course, Textpad isn't supposed to check if user doesn't do so. But those generated from the clip could be made compliant.
* all attribute values have to be delimited in quotes or double quotes, even for numeric values. So for example in Table clip, border=0 has to correct to border="0".
I think that's it, but if I forgot anything, please tell so.