现在有很多网站都有语音搜索
查看源代码,也发现,有这样一句话,就可以实现。但仅用于基于webkit内核的浏览器。
<input type="text" accesskey="s" id="q" name="q" autofocus="true" autocomplete="off" x-webkit-speech x-webkit-grammar="builtin:translate">
现在有很多网站都有语音搜索
<input type="text" accesskey="s" id="q" name="q" autofocus="true" autocomplete="off" x-webkit-speech x-webkit-grammar="builtin:translate">