Created
September 30, 2022 23:15
-
-
Save angelolev/325f5be55029692e7102552979e0aabc to your computer and use it in GitHub Desktop.
HTML capture attribute
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 lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width,initial-scale=1" /> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
<label for="environment">Type: environment</label> | |
<br> | |
<input | |
type="file" | |
id="environment" | |
capture="environment" | |
accept="video/*" | |
> | |
<br><br> | |
<label for="user">Type: user</label> | |
<br> | |
<input | |
type="file" | |
id="user" | |
capture="user" | |
accept="image/*" | |
> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment