Created
February 6, 2018 13:12
-
-
Save thewarpaint/6df0c2ab52667e218e29674641634009 to your computer and use it in GitHub Desktop.
Document upload
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
</head> | |
<body> | |
<h1>Document upload!!</h1> | |
<p>Generic input file field</p> | |
<pre> | |
<input type="file"> | |
</pre> | |
<input type="file"> | |
<hr /> | |
<p>Accept image files</p> | |
<pre> | |
<input type="file" accept="image/*"> | |
</pre> | |
<input type="file" accept="image/*"> | |
<hr /> | |
<p>Accept image files, hint for camera</p> | |
<pre> | |
<input type="file" accept="image/*" capture> | |
</pre> | |
<input type="file" accept="image/*" capture> | |
<hr /> | |
<p>Accept image files, hint for forward-facing camera</p> | |
<pre> | |
<input type="file" accept="image/*" capture="environment"> | |
</pre> | |
<input type="file" accept="image/*" capture="environment"> | |
<hr /> | |
<p>Accept image files, hint for user-facing camera</p> | |
<pre> | |
<input type="file" accept="image/*" capture="user"> | |
</pre> | |
<input type="file" accept="image/*" capture="user"> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment