<!
DOCTYPE html>
<html>
<head>
<style>
/* Estilos CSS para el formulario */
.formulario {
width: 400px;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
margin: 0 auto;
}
.formulario label {
display: block;
margin-bottom: 10px;
}
.formulario input[type="text"],
.formulario input[type="email"],
.formulario textarea {
width: 100%;
padding: 10px;
margin-bottom: 20px;
}
.formulario button {
padding: 10px 20px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
</style>
</head>
<body>
<div class="formulario">
<label for="nombre">Nombre:</label>
<input type="text" id="nombre" name="nombre" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="mensaje">Mensaje:</label>
<textarea id="mensaje" name="mensaje" required></textarea>
<button type="submit">Enviar</button>
</div>
</body>
</html>