Yes, a bubble just means that it's over-valued and that at some point there will be a significant correction in stock values. It doesn't mean that the thing is inherently worthless.
But also, a lot of the dot com companies that people invested in in 1999 went bust, meaning those specific investments went to zero even if the web as a whole was a huge success financially.