Historique des conversations
Chargement...
Il existe trois façons principales d'ajouter Bootstrap à votre projet :
Ajoutez ces lignes dans votre fichier HTML :
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Ma page Bootstrap</title>
<link href="..." rel="stylesheet">
</head>
<body>
<h1>Hello, Bootstrap!</h1>
<script src="..."></script>
</body>
</html>
Votre environnement est prêt ! Dans le prochain chapitre, nous allons découvrir le cœur de Bootstrap : Le système de Grille (Grid System).