- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<title>Agregar otro campo</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Iniciar sesión</h1>
<form action="https://echo.htmlacademy.ru/courses" method="post">
<label for="login-field">Tu nombre de usuario</label>
<input type="text" name="login" id="login-field">
<br>
<br>
<!-- agrega la etiqueta aquí -->
<!-- agrega el campo aquí -->
</form>
</body>
</html>
CSS
h1 {
font-size: 18px;
}
Ha ido a otra página
ObjetivosRealizado
0
- Agrega un segundo campo de texto después del primero, con el nombre
passwordy el identificadorpassword-field. - Agrega la etiqueta
Tu contraseñay asóciala con el segundo campo mediante el atributofor.