Skip to content

Instantly share code, notes, and snippets.

@parrfolio
Created May 12, 2011 23:28
Show Gist options
  • Save parrfolio/969671 to your computer and use it in GitHub Desktop.
Save parrfolio/969671 to your computer and use it in GitHub Desktop.
Speech Input Attribute
if (document.createElement("input").webkitSpeech === undefined) {
alert("Speech input is not supported in your browser.");
}
<!-- The x-webkit-speech attribute can be used on any HTML5 input element with a type of text, number, tel, or search. -->
<input type="text" x-webkit-speech />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment