做一个如下图的form表单:

  表单练习

  我们的代码如下:

    

 

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>表单练习</title>
</head>

<body leftmargin="400px" topmargin="200px">
<form method="post" action="http://www.baidu.com">
<table border="2px" heigth="200px">
<tr>
<td align="right">用户名:</td>
<td>
<input type="text" name="" />
</td>
</tr>

<tr>
<td align="right">验证码:</td>
<td>
<input type="text" name="" >听音乐</option>
</select>

</td>
</tr>
<tr>
<td align="right">你喜欢的游戏:</td>
<td>
<input type="checkbox" name="" />
</td>
</tr>
</table>
</form>

</body>

</html>

相关文章:

  • 2022-12-23
  • 2021-06-27
  • 2021-11-15
  • 2021-05-14
  • 2021-09-17
  • 2022-01-01
  • 2021-10-17
  • 2022-12-23
猜你喜欢
  • 2021-06-12
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案