|
Posted by Adrienne Boswell on 10/14/41 11:49
Gazing into my crystal ball I observed "Herman" <mherman3@gmail.com>
writing in news:1149553934.243133.35580@h76g2000cwa.googlegroups.com:
> Is it illegal to define your own attributes that are not defined by
> HTML standards? It sounds stupid, but would this work:
>
><td id='cell' info='Information stored here'>
>
> Then in javascript:
>
> var info = document.getElementById('cell').info;
>
> The attribute wouldn't have an effect on the element itself, but it
> would act as an information holder for the particular element.
> This idea to me screams conflict with W3 standards, but its an idea
> that would seemingly make things easier for me.
> Any thoughts?
> Thanks a lot.
>
>
That trouble with doing something like at is that because it is non-
standard, it may break in some browsers, or it may break some time in the
future.
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Navigation:
[Reply to this message]
|