Time to change "HTML Tags" clip to be XHTML compli

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
seaktf
Posts: 22
Joined: Tue Mar 02, 2004 10:44 am

Time to change "HTML Tags" clip to be XHTML compli

Post by seaktf »

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.
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

nobody stops you from editing your clip library ...

And nobody stops you from sending the result to Textpad so they can put it on the Add-On page.
Post Reply