PHP - boton html

 
Vista:

boton html

Publicado por Peter (3 intervenciones) el 10/02/2026 14:28:41
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>logeo</title>
</head>
<body>
<header>
<center>
<h2>Iniciar sesion </h2>
<form method="POST">
<input type="text" id="nombre" name="usuario" placeholder="Usuario" required><br>
<input type="password" name="password" placeholder="Contraseña"required><br>
<button type= "submit" name = "entrar">Entrar </button>
</form>
</center>
<?php
if(isset($error)){
echo "<p style=color:red;>$error</p>";
}
?>
</body>
</html>
?>
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder