其他分享
首页 > 其他分享> > web网页实验二(2)

web网页实验二(2)

作者:互联网

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>表单</title>
</head>

<body>
<center>
  <table border="1" width="80%" height="30%">
            <tr style="background-color:#5882FA"><font size="6">
                 <td bgcolor="lavender" ><b>Name</b></td>
                 <td bgcolor="lavender"><b>Value</b></td></font>
            </tr>
            
            
            <tr>
                 <td height="50">Name</td>
                 <td>?</td>
            </tr>
            
           
            <tr>
                 <td  rowspan="2">Sex</td>
           
                 <td  rowspan="2"><input type="radio" value="Male" name="sex" >Male<br />
                   <input type="radio" value="Female" name="sex" checked="checked">Female</td>
            </tr>  
            
            
                 <tr>?</tr>
                 
           
            <tr> <td>Eye color</td>
                 <td><select name="color">
                        <option value="red"SELECTED>red</option>
                        <option value="green"SELECTED>green</option>
                        <option value="blue">blue</option>
                        </select> </td>
           </tr>
           
           
           <tr>
                 <td rowspan="2">Check all that apply</td>
                 <td rowspan="2" >
                 <input type="checkbox" name="inst" value="Over 6 feet tall" >Over 6 feet tall<br />
                 <input type="checkbox" name="inst" value="Over 200 pounds" >Over 200 pounds
                 </td>   
           </tr>
           
           
                                     <tr>?</tr>
          
          
           <tr>
                 <td height="40">Describe your athletic ability:</td><br />
           </tr> 
           
           
           <tr>
                 <td rowspan="4" colspan="2"></td>
           </tr>


           <tr>?</tr>
           <tr>?</tr>
            <tr>?</tr>
           <tr><center>
                 <td height="100" colspan="2"><input type="Enter my imformation" value="Enter my imformation" >
                 </td></center>
            </tr>
      </table>
  <blockquote>&nbsp;</blockquote>
      </center>
</body>
</html>

效果图如下:在这里插入图片描述

标签:web,网页,Name,color,Over,feet,实验,nbsp,Eye
来源: https://blog.csdn.net/yinianzhijian_/article/details/100940257