Why can't I have a numeric value as the ID of an element?
问题 Working on a project, nearly finished and just tidying up the HTML and I find out that you\'re not really allowed to have an ID that is just a number- < a> attribute \"id\" has invalid value \"567\" The attribute ID is of type ID. As described above, it should begin with a letter and have no spaces Good <a id=\"567\" href=\"/index.html\"> Good <a id=\"n567\" href=\"/index.html\"> I can go through my code and add a letter then strip it when the value is used in my jQuery but it would be