Select Your Style

Choose your layout

Color scheme

Assignment 2

Assignment 2

In this assignment, you will be creating your own forms, using the "form" <form> </form> tag. You've all probably fill form before, and this is your opportunity to create your own form from the scratch. Below code is a simple form, without not action yet. Your tasks are below

  1. Open a any text editor of your choice, and type this code inside and save **don't copy, type it and save it**, open it in your browser of your choice and take a screenshot and send it.
  2. Replace where you see the ??? with your first name and last name, take a screenshot after publishing it and send it.
  3. Take time to understand the tags/code

<form action="noactionyet.php">
First name:<br>
<input type="text" name="firstname" value="???"><br>
Last name:<br>
<input type="text" name="lastname" value="???"><br><br>

<input type="radio" name="gender" value="male" checked> Male<br>
<input type="radio" name="gender" value="female"> Female<br>
<input type="submit" value="Submit">

Please login to get access to submit assignment
Back to Introduction to IT