Best video format to publish on web?

I am a newbie so my knowledge is currently limited. I want to copy a dvd video onto hard disk so that it can be easily accessed on a web page by clicking on link to play it. What is best quality format to use? How is this done? I have a vob file and info files on the dvd

The most compatible would probably be WMV. I myself prefer xvid which a person can d/l the codec for free.