RE: Allowing / Disallowing Attributes

Can I specify the list of allowable attributes?

Maybe I simply need an HTML validator, but haven't found one.

J

-----Original Message-----
From: Bjoern Hoehrmann [mailto:derhoermi@gmx.net] 
Sent: Friday, July 16, 2004 1:59 AM
To: Joel Trunick
Cc: html-tidy@w3.org
Subject: Re: Allowing / Disallowing Attributes

* Joel Trunick wrote:
>I want to disallow certain attribute names from all tags, such as
>"listener". i.e.:

What do you mean exactly by disallow here?

><input listener="ognl:listeners.ok">

That would give

  Warning: <input> proprietary attribute "listener"

and `--drop-proprietary-attributes yes` would remove it.

Received on Friday, 16 July 2004 10:52:58 UTC