Netscape 4.x has a less-than-1% market share. I rest my case.
You rest it on what?
From the statistics I've read, Netscape 4.x and below have about a 0.2%
market share. Let's suppose they are the only browsers that don't
understand id-pointing hyperlinks. It takes 9 extra characters to use a
named anchor instead of an id attribute. Let's examine the costs of
those 9 extra characters.
Development time: nine extra characters takes about three or so seconds
to type, even when inserting the tags afterwords. Let's suppose your
time is worth, say, 120 USD an hour, to make the math easy and to pick
our numbers conservatively. In that case, 120 USD * 3 / 3600 = .10 USD.
With that math, a named anchor costs ten cents of development time (and
less if the named anchor is created blindly by a WYSIWYG editor which
many developers use).
Hard Drive Space: hard drive space is cheap and negligable.
Bandwidth: Suppose, for the sake of example, we were to order the Single
B package at <
http://affordablehost.com/cpanel.shtml>, at $5.95 a month
with 5 gigabytes of bandwidth. To be conservative, let's suppose the
entire cost of the hosting goes towards bandwidth. In that case, we have
a rate of 1.19 USD / GB. Multiply this by (9/(2^30)) (the number of
gigabytes equal to 9 bytes) and we arrive at the price of 9 bytes of
bandwidth, 0.00000000997 USD.
With a 0.2% market share of browsers needing the named anchor, we have
only one in five hundred users who benefit from it. With the cost of
each named anchor being .00000000997 USD per transfer, with only one in
every five hundred named anchors ever needed, it costs .00000000997 * 500
= .00000498 USD in bandwidth for each use of the named anchor where id
would not suffice.
Now suppose that in all the NS 4- hits that download a certain named
anchor, only one in say, two thousand of them are actually linked to that
named anchor (just a guess, and a pretty conservative one). .00000498 *
2000 = 0.00997 USD. Which means it costs about one extra cent for each
user that ends up using the named anchor.
Now let's suppose that penny wasn't spent. In that case, the user would
get linked to the top of the page. As Kris wrote in
"And it is not like the lack of support causes the information to be
accessible to those users. They just have to scoll down a bit and
hunt for it."
There are generally two possibilities when the user gets linked to the
top of the page: either he knows he was meant to be linked to the middle
of the page, or he doesn't. Let's consider the latter case first: If he
doesn't know what happened (and this is the far more likely scenario), he
will be confused, wondering why the information he was looking for cannot
be found, and his time will be wasted (certainly more time than the three
seconds it would have taken to write that named anchor). He won't know
where he is, and a sale may likely be lost.
Now, suppose the user does know to scroll down and "hunt for it." (If he
is so savvy, why isn't he using FireFox?) How much time does this take?
Certainly more than a penny's worth. Certainly more than three seconds.
If the site is trying to sell something, it will lose sales, and if it is
the type of site such as
www.html-faq.com or All My FAQs, it will be
doing badly at its job of being a good resource (seeing that the three
seconds of development time is worth less than the k * n seconds of
user's time wasted, k being the amount of time wasting "hunting" for each
link that fails to work, n being the number of users for which it fails
to work).
And remember that the ten-cent development cost and the one cent per
named anchor use cost are based on keeping all the numbers conservative.
Therefore, even with NS 4's pitiful market share, writing named anchors
is worth the effort.