移动相关HTML设置

电话

<a href="tel:10000000000"></a>

短信

<a href="sms:10000000000"></a>

防止图片的弹窗行为

<img src="1.jpg" style="-webkit-touch-callout: none"> 

手册

关闭英文状态下首字母大写

<input type="text" autocapitalize="off">

调用照相机

<input type="file" accept="image/*" capture="camera">

调摄像机

<input type="file" accept="video/*" capture="camcorder">

调用录音

<input type="file" accept="audio/*" capture="miccrophone">

评论

暂无评论