- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<title>Un campo de texto de varias líneas</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Comentarios</h1>
<form action="https://echo.htmlacademy.ru/courses" method="post">
<p>Lista de comentarios</p>
<p>Escribe tu comentario:</p>
<!-- agrega el campo aquí -->
<input type="submit" value="Enviar">
</form>
</body>
</html>
CSS
input[type="submit"] {
display: block;
margin-top: 10px;
}
Ha ido a otra página
ObjetivosRealizado
0
- Agrega al formulario un campo de texto de varias líneas con el nombre
commenty el identificadorcomment-field. - Asígnale una altura de
10líneas. - Establece su valor inicial en
Texto del comentario.