[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

tags and attributes in wml files (related to xhtml)



Denis Barbier wrote:
> nearly all required changes were already described in the bugreport:
>    a. Put all tags and attributes (but not attribute values) in
> lowercase
>       letters
>    b. Optional end tags are no more supported, so
>            <p>some text here
>       must be written
>            <p>some text here</p>
>    c. Empty tags must contain a trailing slash, e.g.
>            <img src="logo.gif" alt="Logo">
>       becomes
>            <img src="logo.gif" alt="Logo" />
>       (extra space is recommended in order to give old browser a chance
>       to parse this tag without trying to interpret this trailing slash)
> And I would also add
>    d. Always enclose attributes within quotes

I am quoting the above because someone recently changed a file to
convert all the attributes to uppercase. That's going in the opposite
direction from where we want to go!

When editing wml files, we should start moving all the tags and
attributes to lowercase. You don't need go change every file today,
simple start changing them when you are editing the file anyway.

Same goes for items b, c and d above.

-- 
James (Jay) Treacy
treacy@debian.org



Reply to: