Alternative of custom attrbutes for tags to store some information in HTML 4
- by Ashwani K
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?