Is the value
attribute in html subject to the same restrictions as the id
attribute? Specifically, can I have a numeric value
attribute.
Looking at the list of attributes for HTML 4, it appears that there is no restriction, apart from the LI
element which requires it to be a number.
Update - since checkboxes (which are the element you have indicated in a comment) are INPUT
elements, they have no special restriction. They can be any valid CDATA.