Formulare in HTML
Seite 1 von 1
Formulare in HTML
Einmal für euch alle möglichen Formulare in HTML
- Code:
<!DOCTYPE html>
<html>
<head>
<title>Formulare</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="formular.css">
</head>
<body>
<input type="radio" name="gender" value="male"> Male
<br><input type="radio" name="gender" value="female"> Female
<br><input type="radio" name="gender" value="other"> Other
<br> Name: <input type="text" name="fname">
<br>Password <input type="password" name="pwd">
<br>E-mail: <input type="email" name="usremail">
<br>Telephone: <input type="tel" name="usrtel">
<br>Add your homepage: <input type="url" name="homepage">
<br>Select a week: <input type="week" name="week_year">
<br>Birthday: <input type="date" name="bday">
<br>Birthday (date and time): <input type="datetime-local" name="bdaytime">
<br>Select a file: <input type="file" name="img">
<br><input type="image" src="img_submit.gif" alt="Submit">
<br>Birthday (month and year): <input type="month" name="bdaymonth">
<br>Quantity (between 1 and 5): <input type="number" name="quantity" min="1" max="5">
<br>Wie gut sind sie im einschätzen<input type="range" name="points" min="0" max="10">
<br><input type="checkbox" name="vehicle1" value="Bike"> I have Aids
<br><input type="checkbox" name="vehicle2" value="Car"> I have a cancer
<br><input type="checkbox" name="vehicle3" value="Boat" checked> I am a Yasuo main
<br> Select your favorite color: <input type="color" name="favcolor">
<br> Search Google: <input type="search" name="googlesearch">
<br> Select a time: <input type="time" name="usr_time">
<br><input type="submit" value="Submit">
<br><input type="reset">
<br>
<script src="formular.js"></script>
</body>
</html>
Seite 1 von 1
Befugnisse in diesem Forum
Sie können in diesem Forum nicht antworten
|
|