FORM WITH A SEMANTIC HTML, LEGEND AND FIELD SET

lizamicheni

liza

Posted on March 4, 2024

FORM WITH A SEMANTIC HTML, LEGEND AND FIELD SET

<!DOCTYPE html>




Form With Semantic HTML

Form With Semantic HTML



Legend

Full Name:

 <section> 
   <label for="email">Email:</label> 
   <input type="email" id="email" name="email" required> 
 </section>

 <section>
   <label for="password">Password:</label> 
   <input type="password" id="password" name="password" required> 
 </section> 

 <section> 
    <label for="gender">Gender</label> 
    <select id="gender" name="gender"> 
      <option value="male">Male</option>
      <option value="female">Female</option> 
      <option value="other">Other</option> 
    </select> 
 </section> 

 <section> 
   <label> 
     <input type="checkbox" id="newsletter" name="newsletter"> 
     Subscribe to Newsletter
   <label>
 </section> 

 <section> 
    <label for="comments">Comments</label> 
    <textarea id="comments" name="comments" rows="4"></textarea> 
</section> 

<button type="submit">submit</button> 

💖 💪 🙅 🚩
lizamicheni
liza

Posted on March 4, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related