I do not deal with web pages, only E-learning. With Flash, you can can place sound inside a SWF, or have it outside the SWF but inside the same folder on the server. You will need the Mic and probably sound editing software.
You can Microphone class in Flash to record the sound and it will directly upload to FMS server .
Use the Microphone class to capture audio from a microphone attached to a computer . Use the Microphone class to monitor the audio locally. Use the NetConnection and NetStream classes to transmit the audio to Flash Media Server. Flash Media Server can send the audio to other servers and broadcast it to other clients running Swf files .
Below link might help you in doing this : http://www.adobe.com/devnet/air/flex/articles/using_mic_api.html
Europe, Middle East and Africa