-
-
Save flutesa/11378533 to your computer and use it in GitHub Desktop.
This file contains 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> | |
<title>Испытание: формы — вспомнить всё</title> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<form action="/echo" method="post"> | |
<label for="name-field">Имя</label> | |
<input type="text" id="name-field" name="name"> | |
<div class="half-width"> | |
<label for="date-field">Дата рождения</label> | |
<input type="text" id="date-field" name="date" class="date"> | |
</div> | |
<div class="half-width"> | |
<label>Цвет</label> | |
<select name="color"> | |
<option>Рыжий</option> | |
</select> | |
</div> | |
<input type="checkbox" id="glad-field"> | |
<label for="glad-field" style="display: inline-block;">Разрешать гладить</label> | |
<label for="secret-field" style="margin-top:1px">Секретное блюдо</label> | |
<input type="password" id="secret-field" name="secret" > | |
<div class="buttons"> | |
<input type="submit" value="Сохранить"> | |
</div> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Попробуйте так:
В описании задания сказано про то, что подписи обычно отдельно от полей ввода, но конкретно в данном случае полн ввода будет в подписи.