TheOptimizationIdiot - 8:39 pm on Mar 6, 2013 (gmt 0)
Well, the w3fools site isn't quite accurate either. I just got a ways down the page and thought they seemed to be a bit too much, so I decided to check on the accuracy of the information they present and what do you know the first (and only) so far one I checked:
The name attribute specifies the name of an anchor. The name attribute is used to create a bookmark inside an HTML document.
This is misleading. Named anchors have been deprecated since HTML4 and replaced with element IDs. (Yes, that's right: you can link to any element with a href="#thing" as long as it has id="thing". Yes, it works everywhere.)
Is, as they would say: Blatantly False
From the w3schools site:
An anchor with an id inside an HTML document:
<a id="tips">Useful Tips Section</a>
Create a link to the "Useful Tips Section" inside the same document:
<a href="#tips">Visit the Useful Tips Section</a>
Or, create a link to the "Useful Tips Section" from another page:
Visit the Useful Tips Section</a>
I guess now the Fools rant about the w3schools site could be as out of date as the w3schools site may have been in places for a while which would definitely make them the Fools too, but of course this is the Internet, so if the Fools site generates traffic I guess the pot calling the kettle black and even citing it as some "authority" is okay.
#SMH I find it tough to believe the "sticklers" here would recommend a site that's two years out of date ranting about another site being inaccurate and not being updated, when that site (the Fools) is doing exactly the same thing they (the Fools) were complaining about (a site being out of date and inaccurate) but, eh, whatever.