review: Add Form Labels task3

 After the name field, add another input for email addresses. Set the type attribute to "email", the id attribute to "email", and the name to "user_email".



<!DOCTYPE html>

<html>

  <head>

    <meta charset="utf-8">

    <title>HTML Forms</title>

  </head>

  <body>

    

    <form action="index.html" method="post">

      <label for="name">Name:</label>

      <input type="text" id="name" name="user_name">

      <label for="comment">Comment</label>

      <textarea id="comment" name="user_comment"></textarea>

      <input type="email" id="email" name="user_email">

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

    </form>


  </body>

</html>

Comments

Popular posts from this blog

how to code a weather forecast web

What Build Tools Do JavaScript Developers Use?

unit3.online registration form tricks: input field box align right and placeholder text right, but input text left.

how to use :focus

Numbers in JavaScript introduction

WordPress Theme Development From Scratch - 3. Enqueuing CSS and JS to W...