chrome浏览器的标签法

只要在你的输入框加入x-webkit-speech 参数即可让你的页面具有语音识别输入功能。

html代码:

<input type="text" name="inputBox" id="inputBox" x-webkit-speech />