The HTML spec tells us that id (and name) attributes:
must begin with a letter ([A–Z[,]a–z]) and may be followed by any number of letters, digits ([0–9]), hyphens (-), underscores (_), colons (:), and periods (.).
I decided to test it out. I duplicated a previous posting and added a paragraph at the very end.
For its identifier, I removed all illegal characters from an entire chapter of my book. That’s 39,209 characters. Yes, it clears the validator.
Select a category to see additional posts. Add feed/ to a category to subscribe via RSS
The foregoing posting appeared on Joe Clark’s personal Weblog on 2004.06.06 12:38. This presentation was designed for printing and omits components that make sense only onscreen. (If you are seeing this on a screen, then the page stylesheet was not loaded or not loaded properly.) The permanent link is: https://blog.fawny.org/2004/06/06/id/
(Values you enter are stored and may be published)
Information
This personal Weblog is unlikely to be updated again until my next book comes out. (SeeBest postings)
Just add /year/month/day/ to the end of site’s URL, blog.fawny.org. You can add just /year/month/, or just /year/, if you wish. Years are four-digit, month and day two-digit (with padding zero below 10). For example: