The HTML spec tells us that id (and name) attributes:

must begin with a letter ([AZ[,]az]) and may be followed by any number of letters, digits ([09]), 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.

And you’d probably like to hit a link to that paragraph now, wouldn’t you?

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:

(Values you enter are stored and may be published)



First of all, this personal Weblog is on hiatus in 2020. (See Best postings)

Other reading

Topics of interest

Typography ⁓ graphic designTTCCanadian EnglishInversion

Archives by date

Just add /year/month/day/ to the end of site’s URL, 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:

Archives by category

Copyright © 2004–2020

You enjoy

I really like my pictures; my homosexualist-lock-screens project is what I am most proud of in living memory; this personal Weblog is an absolute cultural treasure.

And, last but not least, I don’t like you, either.