HTML 5-ユーザー登録フォーム

17456 ワード

ユーザー登録

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>    title>
head>
<body>
    <h2>    h2>
    <form action="" method="post">
        
        <input type="hidden" name="uid" value="9527" />
        <table border="0" cellpadding="0" cellspacing="0" width="400px">
            <tr>
                <td align="right"><label for="name">label>td>
                <td><input type="text" name="name" id="name"/>td>
            tr>
            <tr>
                <td align="right">td>
                <td><input type="text" name="username"  readonly="readonly" value="tom"/>td>
            tr>
            <tr>
                <td align="right">td>
                <td><input type="password" name="pwd"/>td>
            tr>
            <tr>
                <td align="right">td>
                <td><input type="password" name="repwd"/>td>
            tr>
            <tr>
                <td align="right">td>
                <td><input type="text" name="email"/>td>
            tr>
            <tr>
                <td align="right">td>
                <td>
                    <input type="radio" name="sex" value="male" checked="checked" id="male" />
                    <label for="male"><img src="images/Male.gif"/> label> 
                    <input type="radio" name="sex" value="female"/>
                    <img src="images/Female.gif"/> 
                td>
            tr>
            <tr>
                <td align="right">td>
                <td><input type="file" name="touxiang"/>td>
            tr>
            <tr>
                <td align="right">td>
                <td>
                    <input type="checkbox" name="hobby" value="eat" checked="checked" />    
                    <input type="checkbox" name="hobby" value="sleep" />    
                    <input type="checkbox" name="hobby" value="doudou" />     
                td>
            tr>
            <tr>
                <td align="right">td>
                <td>
                    <input type="text" name="year" size="10"/>  
                    <select name="month">
                        <option value="0" selected="selected">--  --option>
                        <option value="1">  option>
                        <option value="2">  option>
                        <option value="3">  option>
                        <option value="4">  option>
                        <option value="6">  option>
                    select>   
                    <input type="text" name="day" size="6"/> 
                td>
            tr>
            <tr>
                <td align="right">td>
                <td>
                    <textarea rows="4" cols="20" name="intr" readonly="readonly">
                                 。。。
                    textarea>
                td>
            tr>
            <tr>
                <td>td>
                <td>
                    <input type="submit" value="  " disabled="disabled" />  
                    <input type="image" src="images/reset.gif" />  
                    td>
            tr>
        table>    
    form>
body>
html>