Re: Custom tags and attributes

On 24 Mar 2010, at 12:18 PM, Andrew Marcus wrote:

> Hello.
>
> I need to use custom tags and attributes on my web pages, just to  
> store and use some data via javascript (I don’t allow to create this  
> tags at runtime too). All I know is that XHTML allows Namespaces  
> usage, but in this case page doesn’t pass validation on W3C site. I  
> can’t find any methods to solve my problem to use custom attrs and  
> keep code valid. Could you advice me something? Thank in advance.

Andrew,

You would need a custom dtd or schema for your specialized validation.

There are other forms of quality control, such as determining whether  
your content is well-formed.
I sometimes use the tidy tool for this.

  _ Ian

>
> Andrew Marcus.

--
Ian Jacobs (ij@w3.org)    http://www.w3.org/People/Jacobs/
Tel:                                      +1 718 260 9447

Received on Wednesday, 24 March 2010 16:53:15 UTC