aristotle - 3:09 pm on Dec 10, 2013 (gmt 0)
Yesterday I decided to convert a small long-neglected site to html5 (from xhtml). This is my first experience with html5, and I've noticed some things that I like, such as the <nav> tag. Luckily most of the old xhtml code still validates, but I've also encountered a couple of annoying snags. In particular, when using the "name" tag to allow jumping to a specific point on a page, I get the following message from the W3C validator:
Line 136, Column 18: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
<a name="more"> </a>
Evidently it doesn't count this as an error, but says that it's "obsolete".
I use this tag at least 20 times on the site, and find it annoying to be asked to change all of them. So should I leave them as they are, even though they're obsolete, or should I spend the time to change all of them?
What's annoying is that they would declare something so simple and useful to be obsolute. They also threw out the <center> tag, which is also very simple and very useful. Why the heck did they get rid of such simple useful tags? There's no logical reason for getting rid of them -- it was just done arbitrarily. It's really annoying!
Edit: P.S. I should have mentioned that the message from W3c is a "warning", not an error.