<!
DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hôpital</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
background-color: #f4f4f9;
header {
background-color: #4f95e6;
color: white;
width: 100%;
padding: 20px 0;
text-align: center;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
header h1 {
margin: 0;
font-size: 2em;
header form {
margin-top: 10px;
header input[type="text"] {
padding: 10px;
font-size: 1em;
border: none;
border-radius: 5px;
width: 300px;
max-width: 80%;
header button {
padding: 10px 20px;
font-size: 1em;
border: none;
border-radius: 5px;
background-color: #333;
color: white;
cursor: pointer;
.container {
display: flex;
width: 100%;
max-width: 1200px;
margin: 60px auto;
flex-wrap: wrap;
.sidebar {
width: 250px;
padding: 20px;
background-color: #bcb8f4;
flex-shrink: 0;
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
.sidebar h3 {
margin-top: 0;
.sidebar button {
display: block;
margin: 10px 0;
padding: 15px;
cursor: pointer;
border: 1px solid #353b41;
background-color: white;
color: #31363b;
width: 100%;
font-size: 1em;
border-radius: 5px;
.main-content {
flex: 1;
padding: 20px;
background-color: white;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
border-radius: 5px;
.main-content h1 {
margin-top: 0;
.main-content section {
margin-bottom: 20px;
.main-content section h2 {
margin-top: 0;
color: #4f95e6;
footer {
background-color: #4f95e6;
color: white;
width: 100%;
padding: 10px 0;
text-align: center;
margin-top: 20px;
.department {
background-color: #e6e6fa;
padding: 10px;
border-radius: 5px;
margin-bottom: 10px;
.department h3 {
margin-top: 0;
</style>
</head>
<body>
<header>
<h1>HEAL CLINIC</h1>
<form>
<input type="text" placeholder="Rechercher un médicament ou un service..." required>
<button type="submit">Rechercher</button>
</form>
</header>
<div class="container">
<div class="sidebar">
<h3>DEPARTEMENTS</h3>
<button onclick="showDepartment('urgences')">URGENCES</button>
<button onclick="showDepartment('pediatrie')">PEDIATRIE</button>
<button onclick="showDepartment('chirurgie')">CHIRURGIE</button>
<button onclick="showDepartment('maternite')">MATERNITE</button>
<button onclick="showDepartment('orthopedie')">ORTHOPEDIE</button>
</div>
<div class="main-content">
<h1>Bienvenue à Heal Clinic</h1>
<section id="departments">
<div id="urgences" class="department" style="display:none;">
<h3>URGENCES</h3>
<p>Notre département des urgences est disponible 24h/24 et 7j/7 pour traiter toutes les
situations critiques et les accidents.</p>
</div>
<div id="pediatrie" class="department" style="display:none;">
<h3>PEDIATRIE</h3>
<p>Nous offrons des soins complets pour les enfants, incluant les vaccinations, les
consultations et les traitements spécialisés.</p>
</div>
<div id="chirurgie" class="department" style="display:none;">
<h3>CHIRURGIE</h3>
<p>Nos chirurgiens expérimentés effectuent une gamme complète de procédures
chirurgicales, utilisant les dernières technologies médicales.</p>
</div>
<div id="maternite" class="department" style="display:none;">
<h3>MATERNITE</h3>
<p>Nous offrons des soins prénataux, des services de maternité et un suivi postnatal pour
assurer le bien-être des mères et des bébés.</p>
</div>
<div id="orthopedie" class="department" style="display:none;">
<h3>ORTHOPEDIE</h3>
<p>Notre département d'orthopédie traite les troubles musculo-squelettiques, les fractures
et les conditions dégénératives.</p>
</div>
</section>
<section>
<h2>Nos Services</h2>
<p>Nous offrons une gamme complète de services médicaux pour répondre à tous vos besoins
de santé.</p>
</section>
<section>
<h2>Notre Équipe</h2>
<p>Nos médecins spécialisés sont dévoués à fournir des soins de haute qualité. "Votre
dévouement et vos soins apportent guérison, confort et espoir."</p>
</section>
<section>
<h2>Contactez-Nous</h2>
<p>Pour plus d'informations ou pour prendre rendez-vous, veuillez nous contacter au
<strong>+33 1 23 45 67 89</strong> ou par email à <a
href="mailto:
[email protected]">
[email protected]</a>.</p>
</section>
</div>
</div>
<footer>
<p>© 2024 Heal Clinic. Tous droits réservés.</p>
</footer>
<script>
function showDepartment(departmentId) {
const departments = document.querySelectorAll('.department');
departments.forEach(department => {
if (department.id === departmentId) {
department.style.display = 'block';
} else {
department.style.display = 'none';
});
</script>
</body>
</html>