Friday, August 21, 2020

forms example in Html

 Assessment.html


<!DOCTYPE html>

<html lang="en" dir="ltr">

  <head>

    <meta charset="utf-8">

    <title>Course Sign Up</title>

  </head>

  <body>

    <h1>Course Singn Up Page</h1>

    <p>Please Note: All text files required</p>

    <form action="thanku.html" method="get">

      <label for="fm">First Name</label>

      <input id="fm"type="text" name="" placeholder="First Name" required>


      <label for="ln">First Name</label>

      <input id="ln"type="text" name="" placeholder="Last Name" required>


     <p></p>



      <label for="mail">Email:</label>

      <input id="mail" type="email" name="" value="" placeholder="user@gmail.com" required>


      <label for="pass">Password:</label>

      <input type="password" name="" value="" required>


      <p>Are you over 18?</p>

      <label for="y">Yes:</label>

      <input id="y"type="radio" name="over" value="yes">

      <label for="n">No:</label>

      <input id="n"type="radio" name="over" value="no">


      <p>Do you have Card and paypal?</p>

      <select name="payment">

        <option value="cc"> Credit Card</option>

        <option value="pp">paypal</option>


      </select>


      <p></p>

      <input type="submit" name="" value="singn Up!">


    </form>


  </body>

</html>

=========================================================================
<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>
    <h1>THANK YOU !</h1>
  </body>
</html>
================================================================

No comments:

Post a Comment

Q) How To Find Duplicate Characters In A String In Java?

Step1:- Creating a HashMap containing char as key and it's occurrences as value. Step2:- Converting given string to char array. Step3:- ...