Sometimes, experience does bite you, if only gently. I've still been using name attributes in links to create "hash" links ( That's, um, reasonably close to wrong:

The use of <a name ...> is declared as obsolete in HTML5 CR, and it really reflects the shortcomings of early HTML versions. – Jukka K. Korpela Dec 13 '13 at 14:09

@JukkaK.Korpela I wasn't aware of that. Has just using IDs of elements (e.g. divs) replaced it? Or is there some other mechanism? – kfb Dec 13 '13 at 14:20

Using id attributes is the recommended way (and has been possible for a long time, all relevant browsers support it). – Jukka K. Korpela Dec 13 '13 at 14:28

I often look through html to find a good name attribute to link more directly to something I find interesting. Looks like that'll be lots easier now. Phew.

Labels: ,