There is absolutely nothing wrong with using web based or code based document formats when the field in question allows it. However, if something is dependent on a server to be found it will become brittle over time. PDF documents can be widely distributed and read with any software so has a larger chance of long term survival we feel.