You are here: Re: Does DTD Validation Matter? « HTML « IT news, forums, messages
Re: Does DTD Validation Matter?

Posted by Jim Higson on 11/22/59 11:41

Siah wrote:

> Hi,
>
> I am creating a web application, and have some custom attributes added.
> My site works just fine and although it fails validation, I haven't
> found enough motivation to spend time and validate it's DTD. Can anyone
> provide me with some reason why I should invest such time?

Maybe you should at least put the attributes in your own namespace. That way
you clearly mark them as custom.

What are your custom attributes for? Inventing your own attributes isn't
very often needed. However...

<confession>
I sometimes put a "regex" attribute on form elements to validate user input
against using Javascript (I also validate against the same regex server
side).
</confession>

I'll probably change this one day.

--
Jim

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация