W3C home > Mailing lists > Public > www-validator@w3.org > February 2010

Custom attributes in HTML elements

From: Claudia Murialdo <cmurialdo@gmail.com>
Date: Wed, 10 Feb 2010 12:26:32 -0200
Message-ID: <e4abd9a91002100626r6781ffaay8571a4277b30564a@mail.gmail.com>
To: www-validator@w3.org
Hi,
I need to add a few custom attributes in some HTML elements, which is
the best way to do it in order to keep validating with w3c validation
service?.
I want my page validates with HTML 4.01 Transitional. I read that one
way is to extend de HTML 4.0 Transitional DTD and put this in the
DOCTYPE declaration of the page (as it says in
http://htmlhelp.com/tools/validator/customdtd.html), but I would like
to know if I can do it in another way so that I can have the original
and public w3c DTD in the DOCTYPE and add my customs attributes adding
a new DTD or a namespace. Can I do that?.

Regards,
Claudia.
Received on Thursday, 11 February 2010 15:49:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:39 GMT