Alternative of custom attrbutes for tags to store some information in HTML 4
Posted
by Ashwani K
on Stack Overflow
See other posts from Stack Overflow
or by Ashwani K
Published on 2010-05-14T06:15:16Z
Indexed on
2010/05/14
6:24 UTC
Read the original article
Hit count: 363
Hello All:
Can some body tell me any alternative to store some information for a particular tag in HTML 4. For example If I have a drop down like
<select>
<option value="0" regionId="1">Test1</option>
<option value="1" regionId="2">Test2</option>
</select>
Here regionId is a custom attribute, I am able to access the attribute but the W3C HTML validation is failing. Any suggestion on this?
© Stack Overflow or respective owner