html
html
DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<style>
body {
margin: 0;
padding: 0;
background-color: #f9f9f9;
header {
background-color: #6c757d;
color: white;
padding: 10px 0;
text-align: center;
nav ul {
list-style-type: none;
padding: 0;
}
nav ul li {
display: inline;
margin: 0 15px;
nav a {
color: white;
text-decoration: none;
main {
padding: 20px;
section {
margin-bottom: 40px;
h2 {
color: #343a40;
table {
width: 100%;
border-collapse: collapse;
table, th, td {
th, td {
padding: 10px;
text-align: left;
th {
background-color: #e9ecef;
button {
background-color: #28a745;
color: white;
border: none;
cursor: pointer;
button:hover {
background-color: #218838;
footer {
text-align: center;
padding: 10px 0;
background-color: #6c757d;
color: white;
</style>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="#produits">Produits</a></li>
<li><a href="#commandes">Commandes</a></li>
<li><a href="#livraisons">Livraisons</a></li>
<li><a href="#stock">Stock</a></li>
</ul>
</nav>
</header>
<main>
<section id="produits">
<h2>Produits</h2>
<table>
<thead>
<tr>
<th>Nom du Produit</th>
<th>Prix</th>
<th>Quantité en Stock</th>
</tr>
</thead>
<tbody>
<tr>
<td>Baguette</td>
<td>1.00€</td>
<td>50</td>
</tr>
<tr>
<td>Pain au Chocolat</td>
<td>1.20€</td>
<td>30</td>
</tr>
<tr>
<td>2.50€</td>
<td>20</td>
</tr>
</tbody>
</table>
</section>
<section id="commandes">
<h2>Commandes</h2>
<form action="#">
<option value="baguette">Baguette</option>
</select>
<label for="quantite">Quantité:</label>
</form>
</section>
<section id="livraisons">
<h2>Livraisons</h2>
<section id="stock">
</section>
</main>
<footer>
</footer>
</body>
</html>