- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<title>Un botón de opción</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Cuestionario</h1>
<form action="https://echo.htmlacademy.ru/courses" method="post">
<p>En los cuestionarios es común encontrar preguntas como «elige una de las siguientes opciones».</p>
<p><i>¿Qué etiqueta representa un párrafo?</i></p>
<label>
<!-- agrega el campo aquí -->
Etiqueta <p>
</label>
<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 botón de opción con el nombre
question-one. - Asígnale el valor
p.