Monday, 8 April 2013

  • User Registration Table in HTML/ASP.NET


    User Registration Table in HTML/ASP.NET


    <!-- colspan combines the column as per given value -->
    <html>
    <head>
    </head>
    <body>

    <table border="1" align="center" >

    <tr>
    <td colspan=2 align="Center">
    <h1>User Registration</h1>
    </td>
    </tr>


    <tr>
    <td>
    User ID:-
    </td>
    <td>
    <input type="Text" name="Txt1"/>
    </td>
    </tr>

    <tr>
    <td>
    User Name:-
    </td>
    <td>
    <input type="Text" name="Txt2"/>
    </td>
    </tr>

    <tr>
    <td>
    Password:-
    </td>
    <td>
    <input type="password" name="Txt3"/>
    </td>
    </tr>

    <tr>
    <td>
    Address:-
    </td>
    <td>
    <Textarea name="Txt4" scroll="true" rows=5></textarea>
    </td>
    </tr>

    <tr>
    <td>
    City:-
    </td>
    <td>
    <select name="ddcity">
    <option>ahmedabad</option>
    <option>mumbai</option>
    </select>
    </td>
    </tr>

    <tr>
    <td>
    Gender:-
    </td>
    <td>
    <input type="radio" name="gender" value="Male"/>Male
    <input type="radio" name="gender" value="Female"/>Female
    </td>
    </tr>

    <tr>
    <td colspan="2" align="center">
    <input type="submit" value="Submit" name="btn1"/>
    </td>
    </tr>

    </table>

    </body>
    </html>

    output:-



  • 0 comments:

    Post a Comment

    Copyright @ 2013 Programming Languages.