form.html 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <link rel="stylesheet" href="normalize.css">
  8. <link rel="stylesheet" href="style.css">
  9. <title>Document</title>
  10. </head>
  11. <body class="body--">
  12. <form class="form form--full-page" action="#" method="post">
  13. <h1 class="form__title">Ajouter un nouveau lien</h1>
  14. <div class="form__field">
  15. <div class="field" id="input-text">
  16. <label class="field__label" for="text">Text</label>
  17. <div class="field__input">
  18. <input class="input" type="text" name="text" label="Text">
  19. </div>
  20. <p class="field__error-help-msg"></p>
  21. </div>
  22. </div>
  23. <div class="form__field">
  24. <div class="field" id="input-radio">
  25. <label class="field__label" for="radio">Radio</label>
  26. <div class="field__input">
  27. <div class="radio">
  28. <input class="radio__option" type="radio" value="Option 1" name="radio" id="option-1">
  29. <label class="radio__label" for="option-1">Option 1</label>
  30. <input class="radio__option" type="radio" value="Option 2" name="radio" id="option 2">
  31. <label class="radio__label" for="option-2">Option 2</label>
  32. <input class="radio__option" type="radio" value="Option 3" name="radio" id="option-3">
  33. <label class="radio__label" for="option-3">Option 3</label>
  34. </div>
  35. </div>
  36. <p class="field__error-help-msg"></p>
  37. </div>
  38. </div>
  39. <div class="form__field">
  40. <div class="field" id="input-select">
  41. <label class="field__label" for="select">Select</label>
  42. <div class="field__input">
  43. <select class="select" id="select" name="select">
  44. <option class="select__option" value="option-1">Option 1</option>
  45. <option class="select__option" value="option-2">Option 2</option>
  46. <option class="select__option" value="option-3">Option 3</option>
  47. </select>
  48. </div>
  49. <p class="field__error-help-msg"></p>
  50. </div>
  51. </div>
  52. <div class="form__field">
  53. <div class="field" id="input-textarea">
  54. <label class="field__label" for="textarea">Textarea</label>
  55. <div class="field__input">
  56. <textarea id="textarea" class="input" type="textarea" name="text" label="Texte" placeholder="Ajouter une note"></textarea>
  57. </div>
  58. <p class="field__error-help-msg"></p>
  59. </div>
  60. </div>
  61. <div class="form__field">
  62. <input class="input input--hidden" type="hidden" name="kind" value="internetcontent">
  63. </div>
  64. <button class="form__submit button button-success" type="submit">Go</button>
  65. </form>
  66. </body>
  67. </html>