Posts

Showing posts with the label form legend

review: Add fieldsets and legends task4

Add another  legend  element to the second  fieldset  and give it the text "What's on your mind?" <!DOCTYPE html> <html>   <head>     <meta charset="utf-8">     <title>HTML Forms</title>   </head>   <body>          <form action="index.html" method="post">                <fieldset>           <legend>Tell us about yourself.</legend>           <label for="name">Name:</label>           <input type="text" id="name" name="user_name">           <label for="email">Email:</label>           <input type="email" id="email" name="user_email">         </fieldset>                 ...

review: Add fieldsets and legends task3

  Add a  legend  element to the first  fieldset  and give it the text "Tell us about yourself." <!DOCTYPE html> <html>   <head>     <meta charset="utf-8">     <title>HTML Forms</title>   </head>   <body>          <form action="index.html" method="post">                <fieldset>           <legend>Tell us about yourself.</legend>           <label for="name">Name:</label>           <input type="text" id="name" name="user_name">           <label for="email">Email:</label>           <input type="email" id="email" name="user_email">         </fieldset>                 ...

review:Add fieldsets and legends task2

  Challenge Task 2 of 4 Create another  fieldset  element that wraps the comment field. <!DOCTYPE html> <html>   <head>     <meta charset="utf-8">     <title>HTML Forms</title>   </head>   <body>          <form action="index.html" method="post">       <fieldset>         <label for="name">Name:</label>         <input type="text" id="name" name="user_name">         <label for="email">Email:</label>         <input type="email" id="email" name="user_email">       </fieldset>              <fieldset>         <label for="comment">Comment:</label>         <textarea id="comment" name="user_comment">...

review: Add fieldsets and legends task1

Challenge Task 1 of 4 Create a  fieldset  element that wraps the name and email fields. <!DOCTYPE html> <html>   <head>     <meta charset="utf-8">     <title>HTML Forms</title>   </head>   <body>          <form action="index.html" method="post">       <fieldset>         <label for="name">Name:</label>         <input type="text" id="name" name="user_name">         <label for="email">Email:</label>         <input type="email" id="email" name="user_email">       </fieldset>       <label for="comment">Comment:</label>       <textarea id="comment" name="user_comment"></textarea>       <button type="submit">Submit Comment</b...