HTML audio: Difference between revisions

Content deleted Content added
Rescuing 4 sources and tagging 0 as dead.) #IABot (v2.0.9.5
m Reverted 1 edit by 178.240.56.119 (talk) to last revision by 96.40.152.201
 
(7 intermediate revisions by 7 users not shown)
Line 1:
{{Short description|HTML element}}
'''HTML audio''' is a subject of the [[HTML]] specification, incorporating audio, including [[speech to text]], all in the browser.
 
== <audio> element ==
Line 122:
 
Google integrated this feature into Google Chrome in March 2011.<ref>{{Cite web | url=http://chrome.blogspot.com/2011/03/talking-to-your-computer-with-html5.html | title=Talking to your computer | access-date=January 28, 2012}}</ref> Letting its users search the web with their voice with code like:
 
<syntaxhighlight lang="html">
<script type="application/javascript">
function startSearch(event) {
event.target.form.submit();
}
</script>
<form action="http://www.google.com/search">
<input type="search" name="q" speech required onspeechchange="startSearch">
</form>
</syntaxhighlight>
 
=== Supporting browsers ===