Edit ─ Improve contact form structure and accessibility | Add ─ Subject select field and reset button | Add ─ HTML5 validation attributes and placeholders | Edit ─ Email input type from text to email
This commit is contained in:
1 file changed
+32
-13
+32
-13
@@ -58,21 +58,40 @@
|
||||
<div id="div-content" >
|
||||
<div id="start"> </div>
|
||||
<div class="grid">
|
||||
<div class="grid-item one">
|
||||
<img src="../public/images/author/pfp.webp" alt="">
|
||||
<div class="grid-item one">
|
||||
<img src="../public/images/author/pfp.webp" alt="Photo de profil de NoCode">
|
||||
<div class="right-text contact">
|
||||
<form>
|
||||
<label for="text-email">Email :</label>
|
||||
<input type="text" name="email" id="text-email">
|
||||
<label for="text-handlename">Handle Name :</label>
|
||||
<input type="text" name="Handle Name" id="text-handlename">
|
||||
<label for="text-message">Message</label>
|
||||
<textarea name="text-message" id="text-message"></textarea>
|
||||
<label for="check"> Possedez-vous un Compte :</label>
|
||||
<input type="checkbox" name="" id="check">
|
||||
<input type="submit" name="" id="sub">
|
||||
<form action="#" method="post" novalidate>
|
||||
<h3>Une question ? Une suggestion ?</h3>
|
||||
|
||||
<label for="text-email">Email <span class="required">*</span></label>
|
||||
<input type="email" name="email" id="text-email" placeholder="exemple@domaine.com" required autocomplete="email">
|
||||
|
||||
<label for="text-handlename">Handle Name <span class="required">*</span></label>
|
||||
<input type="text" name="handle-name" id="text-handlename" placeholder="VotreHandle" required minlength="3" maxlength="30" autocomplete="username">
|
||||
|
||||
<label for="select-subject">Sujet</label>
|
||||
<select name="subject" id="select-subject">
|
||||
<option value="question">Question</option>
|
||||
<option value="suggestion">Suggestion</option>
|
||||
<option value="bug">Signaler un bug</option>
|
||||
<option value="other">Autre</option>
|
||||
</select>
|
||||
|
||||
<label for="text-message">Message <span class="required">*</span></label>
|
||||
<textarea name="message" id="text-message" placeholder="Votre message..." required minlength="10" maxlength="1000"></textarea>
|
||||
|
||||
<div class="check-line">
|
||||
<input type="checkbox" name="has-account" id="check">
|
||||
<label for="check">Je possède un compte Star Citizen</label>
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
<input type="reset" id="reset" value="Effacer">
|
||||
<input type="submit" id="sub" value="Envoyer">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user