Intégration web
Hadhri ramzi
[Link]@[Link]
INTEGRATION WEB
Exercice
Structure Sémantique HTML5
Énoncé : Créez une page HTML5 avec une structure sémantique correcte.
HADHRI RAMZI 1
INTEGRATION WEB
Correction :
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Structure Sémantique HTML5</title>
</head>
<body>
<header>
<h1>Mon Site Web</h1>
<nav>
<ul>
<li><a href="#accueil">Accueil</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#apropos">À propos</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</header>
<main>
<section id="accueil">
<h2>Bienvenue</h2>
<p>Ceci est la page d'accueil de mon site.</p>
</section>
<article>
<header>
<h2>Titre de l'article</h2>
<p>Publié le <time datetime="2023-10-15">15 octobre 2023</time></p>
</header>
<p>Contenu principal de l'article...</p>
<section>
<h3>Section dans l'article</h3>
<p>Contenu de la section...</p>
</section>
<footer>
<p>Auteur: Jean Dupont</p>
</footer>
</article>
<aside>
<h3>Informations complémentaires</h3>
<p>Ceci est un contenu secondaire.</p>
</aside>
HADHRI RAMZI 2
INTEGRATION WEB
</main>
<footer>
<p>© 2023 Mon Site Web. Tous droits réservés.</p>
<address>
Contact: <a href="[Link]
</address>
</footer>
</body>
</html>
HADHRI RAMZI 3