<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>单行文本框和密码输入框</title>
	</head>
	<body>
		<!--input元素的type属性:(必须要有)-->	
		
		<!--单行文本框:
			1.type="text"
			2.可以输入任何类型的文本,数字,汉字,字母,符号等等(只要是文本都可以输入)。
			3.输入的内容以单行显示
			-->
		<!--密码输入框:
			1.type="password"(密码的输入框一定要闭码,防止密码泄漏)
			2.输入的字符会以圆点或星号显示,这是一种隐藏式的密码保护
			3.输入的内容会被隐藏
			-->	
		
		<form action="http://127.0.0.1/51zxt.php" method="post">
			用户名:<input type="text" name="uname"/>
			<br />
			密码:<input type="password" name="password"/>
			<input type="submit" />
		</form>
		
	</body>
</html>
与本机服务器交互的代码
 
画圈的就是单行文本输入框
 
 




















