Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Titre du document</title>
<style>
body {
background-color: #8ebf42;
}
form {
width: 400px;
margin: auto;
margin-top: 250px;
}
input {
padding: 4px 10px;
border: 0;
font-size: 16px;
}
.search {
width: 75%;
}
.submit {
width: 70px;
background-color: #1c87c9;
color: #ffffff;
}
</style>
</head>
<body>
<h2>Créer des boîtes de recherche</h2>
<form>
<input type="text" name=text" class="search" placeholder="Recherchez ici!"/>
<input type="submit" name="submit" class="submit" value="Rechercher" />
</form>
</body>
</html>