[Commentor] LC-2640 Chaals McCathieNevile (archived comment) [Comment] Editorial... 1. That the capture attribute in HTML can be added in markup (rather than being added as a DOM attribute in script) is not obvious from the text, but only from the example section. It would be helpful to clarify this. [Commentor reply] yes [Working Group decision] 
http://lists.w3.org/Archives/Public/public-device-apis/2012Dec/0022.html We addressed this in a number of places (for formatted version of quoted text see draft link below): Introduction: "The HTML Media Capture specification enables web page authors to declaratively specify the upload of audio, video and still images by adding a new attribute to the HTML input element." Terminology: "The input element, HTMLInputElement interface, accept attribute, and File Upload state are defined in [HTML5]." This indicates that input is an HTML element. Examples: Examples 1,2,3 show declarative form without requiring Javascript; example 4 shows use of markup without form and examples 5-7 show how this can be processed. http://dev.w3.org/2009/dap/camera/