首页
>
PHP入门到精通教程 > HTML input文本输入框
代码:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>菜鸟教程(runoob.com)</title>
</head>
<body>
<form action="">
<fieldset>
<legend>Personal information:</legend>
Name : <input type="text" size="30" placeholder="请输入姓名"><br>
passwd:<input type="password" size="30" placeholder="请输入密码"><br>
E-mail: <input type="email" size="30"><br>
beirth : <input type="text" size="30">
</fieldset>
</form>
</body>
</html>
运行结果如图:
- 最近发表