Je veux créer un site HTML aide-moi !
- User
Je veux créer un site HTML aide-moi !
- Assistant
Super, je vais t'aider ! On va le faire ensemble en 2 minutes.
Dis-moi juste : Tu veux créer quel type de site ? Portfolio, site pour une entreprise, blog, boutique, page perso ?
En attendant, voici une base HTML moderne, prête à l'emploi. Tu as juste à copier-coller.
1. Le code de base à copier
Crée un fichier que tu appelles
index.htmlsur ton bureau et colle ce code dedans :html<!DOCTYPE html> <html lang="fr"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Mon Premier Site</title> <style> /* Le CSS pour rendre le site joli */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; } body { background: #f4f4f4; color: #333; line-height: 1.6; } header { background: #111827; color: white; padding: 20px; text-align: center; } nav a { color: white; margin: 0 15px; text-decoration: none; font-weight: bold; } nav a:hover { color: #38bdf8; } .hero { padding: 80px 20px; text-align: center; background: white; } .hero h1 { font-size: 3rem; margin-bottom: 10px; } .hero p { font-size: 1.2rem; color: #666; margin-bottom: 20px; } .btn { background: #38bdf8; color: white; padding: 12px 25px; text-decoration: none; border-radius: 8px; font-weight: bold; } .btn:hover { background: #0ea5e9; } .section { max-width: 1000px; margin: 40px auto; padding: 20px; background: white; border-radius: 12px; } footer { text-align: center; padding: 20px; background: #111827; color: white; margin-top: 40px; } </style> </head> <body> <header> <h2>MonSite</h2> <nav> <a href="#">Accueil</a> <a href="#">À propos</a> <a href="#">Services</a> <a href="#">Contact</a> </nav> </header> <section class="hero"> <h1>Bienvenue sur mon site !</h1> <p>Le site le plus simple et le plus rapide à créer en HTML.</p> <a href="#" class="btn">Me contacter</a> </section> <section class="section"> <h2>À propos</h2> <p>Ceci est une section où tu peux te présenter, présenter ton entreprise ou ton projet. Tu peux modifier ce texte comme tu veux.</p> </section> <section class="section"> <h2>Mes Services</h2> <p>✅ Service 1 - Description rapide</p> <p>✅ Service 2 - Description rapide</p> <p>✅ Service 3 - Description rapide</p> </section> <footer> <p>© 2025 MonSite - Tous droits réservés</p> </footer> </body> </html>
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.