How to Open the Native Camera in Mobile Browsers

Without using JavaScript

You don’t need any JavaScript library or any complicated solutions to open the native camera and take pictures in mobile browsers. It can be accomplished with a combination of attributes for the element.

You can try out my solution on your mobile device