This commit is contained in:
2026-03-13 11:03:09 +01:00
parent 155a4dde42
commit f998085291
5 changed files with 40 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
<footer>
<div id="src"></div>
<div id="Contact"></div>
<footer id="footer">
<div id="src">My ass</div>
<div id="Contact"> Me Me Me</div>
</footer>

View File

@@ -1,4 +1,7 @@
<header>
<div id="logo"></div>
<nav></nav>
<header id="header">
<div id="logo"> Un Logo </div>
<nav id="nav">
<a id="google" href="google.com">Google</a>
<a id="unTest" href="bing.com">Bing</a>
</nav>
</header>

View File

@@ -4,14 +4,17 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Test Statique</title>
<link rel="stylesheet" href="main.css">
</head>
<body>
<?php include "header.html"?>
<div id="main-body">
<div id="sidebar"></div>
<div id="content"></div>
<div id="sidebar"> une sidebar</div>
<div id="content">
<?php include "recette.html"?>
</div>
</div>
<?php include "footer.html"?>

19
main.css Normal file
View File

@@ -0,0 +1,19 @@
.recette {
background-color: red;
}
.logo {
background-color: blue;
}
.nav {
background-color: yellow;
}
.footer {
background-color: purple;
}
.sidebar {
background-color: aquamarine;
}

7
recette.html Normal file
View File

@@ -0,0 +1,7 @@
<div id="recettes">
<ul>
<li>Un élément au pif</li>
<li>Un deuxième élément au pif</li>
<li>Et un autre</li>
</ul>
</div>