读书人

input框话音功能

发布时间: 2012-07-04 19:33:54 作者: rapoo

input框语音功能
Webkit内核的input框带有语音功能, 请看实例

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Insert title here</title></head><body><input type="text" autocomplete="off" name="q" value="危机边缘第四季1" maxlength="200" x-webkit-speech="" x-webkit-grammar="builtin:translate"><input type="text" autocomplete="off" name="q" value="危机边缘第四季2" maxlength="200" x-webkit-speech="" x-webkit-grammar="builtin:search"></body></html>

读书人网 >Web前端

热点推荐