example.html 453 B

1234567891011
  1. <!-- Manipulation d'attributs / propriétés -->
  2. <h2>Manipulation d'attributs </h2>
  3. <p>Résultats : ouvrir outils développeur et voir la console</p>
  4. <input type="checkbox" id="the-choice" checked />
  5. <label for="the-choice">J'aime les patates</label>
  6. <br>
  7. <input type="checkbox" id="the-2nd-choice" />
  8. <label for="the-choice">J'aime les frites</label>
  9. <br>
  10. <p>On va manipuler cet élément après un timeout de 3 secondes.</p>
  11. <input type="checkbox" />