- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<title>Selectores de ID</title>
<link rel="stylesheet" href="course-5.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<form class="login" action="https://echo.htmlacademy.ru/courses" method="post">
<label for="fullname">Nombre</label>
<input type="text" id="fullname" name="fullname">
<label for="year">Año de nacimiento</label>
<input type="text" id="year" name="year">
<input type="submit" value="Entrar">
</form>
</body>
</html>
CSS
Ha ido a otra página
ObjetivosRealizado
0
- Asigna
background-color: #fcf8e3;al campo «Nombre». - Asigna
width: 100px;al campo «Año de nacimiento».