Posts

Showing posts with the label form input

review: Create a form text input task4

Now, add a  name  attribute to the input. Set its value to  "user_name" . <!DOCTYPE html> <html>   <head>     <meta charset="utf-8">     <title>HTML Forms</title>   </head>   <body>     <form action="index.html" method="post">       <input type="text" id="name" name="user_name" >                 </form>        </body> </html>

review: Create a form text input task3

  Challenge Task 3 of 4 On the input created in the last step, add an  id  attribute with the value  "name" . <!DOCTYPE html> <html>   <head>     <meta charset="utf-8">     <title>HTML Forms</title>   </head>   <body>     <form action="index.html" method="post">       <input type="text" id="name" >                 </form>        </body> </html>

review: Create a form text input task2

Challenge Task 2 of 4 Inside the form element, add an input with the  type  attribute set to the value  "text" . Don't add any other attributes yet. <!DOCTYPE html> <html>   <head>     <meta charset="utf-8">     <title>HTML Forms</title>   </head>   <body>     <form action="index.html" method="post">       <input type="text">                 </form>        </body> </html>

review: Create a form text input task1

Create a form element with an  action  attribute set to  "index.html"  and the  method  attribute set to  "post" . <!DOCTYPE html> <html>   <head>     <meta charset="utf-8">     <title>HTML Forms</title>   </head>   <body>     <form action="index.html" method="post">                 </form>        </body> </html>