Skip to content

Instantly share code, notes, and snippets.

@mxdi9i7
Last active December 7, 2017 19:36
Show Gist options
  • Save mxdi9i7/a8a7291684ff97fe15217b8b67b6e65b to your computer and use it in GitHub Desktop.
Save mxdi9i7/a8a7291684ff97fe15217b8b67b6e65b to your computer and use it in GitHub Desktop.
HTML Form Elements
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<h1 class="topTitle1 title">Welcome to my website</h1>
<h1 class="topTitle2 title">Another title</h1>
<h1 class="topTitle3 title">Another title</h1>
<form>
<label>Full Name: </label>
<input type="text">
<br>
<br>
<label>Email: </label>
<input type="email">
<br>
<br>
<label>Phone #: </label>
<input type="tel">
<br>
<br>
<label>Birthdate</label>
<input type="date">
<br>
<br>
<label>Income: </label>
<input type="range" min="0" max="100">
<br>
<br>
<label>Age: </label>
<input type="number">
<br>
<br>
<label>Profile Picture</label>
<input type="file">
<button type="submit">
Submit
</button>
</form>
</body>
</html>
@mxdi9i7
Copy link
Author

mxdi9i7 commented Dec 7, 2017

@fakerdavid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment