HTML5页面如何在手机端浏览器调用相机、相册功能

  1. <!DOCTYPE html>  
  2. <html lang="en">  
  3. <head>  
  4.     <meta charset="UTF-8">  
  5.     <title>HTML5页面如何在手机端浏览器调用相机、相册功能</title>  
  6. </head>  
  7. <body>  
  8.   
  9. <div>  
  10.     <input type="file" accept="image/*" capture="camera">  
  11.     <input type="file" accept="video/*" capture="camcorder">  
  12.     <input type="file" accept="audio/*" capture="microphone">  
  13. </div>  
  14.   
  15. </body>  
  16. </html>  
原文地址:https://www.cnblogs.com/zhijiajie/p/8043686.html