写html源代码
发布网友
发布时间:2022-04-24 15:39
我来回答
共2个回答
热心网友
时间:2022-07-12 07:12
body>
<p style="font-size: 40pt;text-align: center;">个人情况调查</p>
<p> </p>
<form id="form1" name="form1" method="post" action="" style="text-align: center;">
<p>姓名:
<label for="username"></label>
<input type="text" name="username" id="username" />
</p>
<p>密码:
<label for="password"></label>
<input type="password" name="password" id="password" />
</p>
<p>工作状况:
<label for="works"></label>
<select name="works" id="works">
<option>工作</option>
<option>学习</option>
</select>
</p>
<p>个人简历:
<label for="jianli"></label>
<textarea name="jianli" id="jianli" cols="16" rows="5"></textarea>
</p>
<p>
<input type="submit" name="tijiao" id="tijiao" value="发送表单" />
<input type="reset" name="chongxie" id="chongxie" value="重新填写" />
</p>
</form>
</body>
热心网友
时间:2022-07-12 07:12
<!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=gb2312" />
<title>个人情况调查</title>
</head>
<body>
<center>
<p style="font-size: 40pt;text-align: center;">个人情况调查</p>
<p> </p>
<form name="form1" method="get" action="" >
<table> <tr><td> 用户姓名:</td> <td> <input type="text" name="username" /></td></tr>
<tr><td>密码:</td><td><input type="password" name="password" /></td></tr>
<tr> <td> 工作状况:</td> <td> <select name="works" id="works"></select>
<option>工作</option>
<option>学习</option>
</select></td></tr>
<tr><td > 个人简历:</td>
<td> <textarea name="jianli" cols="60" rows="5"></textarea></td></tr>
<tr><td> <input type="submit" name="tijiao" value="发送表单" /></td>
<td> <input type="reset" name="chongxie" value="重新填写" /></td></tr>
</table>
</form>
</center>
</body>
</html>