HTML 5 Input Elements

It returns 9 types of form elements in HTML5
1.       Email
2.       URL
3.       Color
4.       Numbers
5.       Week
6.       Time
7.       Date
8.       Date time
9.       Year
<html>
    <head>
                <title> First Page</title>
    </head>
    <body>
                                <form method='get' action=''>
                                                <fieldset>
                                                <legend>Registration-From</legend>
                                                    Email : <input type='email'/><br>
                                                    Color : <input type='color'/><br>
                                                    Url : <input type='Url'/><br>     
                                                    number : <input type='number'/><br>
                                                    week : <input type='week'/><br>
                                                    time : <input type='time'/><br>
                                                    Date : <input type='date'/><br>
                                                    datetime : <input type='datetime'/><br>
                                                    year : <input type='year'/><br>                                              <input type='submit' id='submit' name='submit' class='submit' style='' value="Register"/>
                                                </fieldset>
                                </form>
    </body>

</html>

No comments:

Post a Comment