top of page
Rechercher

TP: EXEMPLE D'UN FORMULAIRE STYLE (HTML,CSS)

Dernière mise à jour : 7 mars 2021


<!DOCTYPE html>

<html>

<head>

<title>formulaire a remplire</title>

<h1 > créer votre compte </h1>

<style >

form{

padding: 10px;

display: blok;

max-width: 400px;

margin: 21px auto;

margin-top: 18px;

background-color: black;


}


input{

max-width: 400px;

margin-top: 10px;

padding: 10px;

display: block;


}


body{

background-image: url("waterfall.jpg");

background-size: cover;

background-repeat: no-repeat;

outline: none;

}


h1{

color:black;

text-align: center;

font-size: 32PX;

font-family: bold;

text-transform: capitalize;


</style>


</head>


<body>

<form method="POST" action="connect.php" >


<label for="nom"></label>


<input type="texte" name="nom" placeholder="Entrer votre nom:">


<label for="prénom"></label>


<input type="text" name="prenom" placeholder="Entrer votre prénom">


<label for="email"></label>


<input type="email" name="mail" placeholder="ex:barbara@gmail.com">


<label for="password"></label>


<input type="password" name="mdp" placeholder="*******">


<label for="tel"></label>


<input type="tel" name="telephone" placeholder="exemple:0123456">


<input type="submit" value="Enregistrer dans BD">



<input type="submit" value="Annuler">

</form>


16 vues0 commentaire

Posts récents

Voir tout
Post: Blog2 Post
bottom of page