Permitted Values for ID & Class Attributes in HTML5

As of HTML5, the only restrictions on the value of an ID are: must be unique in the document must not contain any space characters must contain at least one character Similar rules apply to classes (except for the uniqueness, of course). So the value can be all digits, just one digit, just punctuation characters,