java,web study/5주차 (7월 29일~8월 4일)

스타일로 입력폼 만들기

doublemetal 2013. 7. 31. 18:32
 <!DOCTYPE html>
<html>
<head>
<meta charset="EUC-KR">
<title>Insert title here</title>
<style>
input[type="text"] {
	background: red;
}

input[type="password"] {
	background: blue;
}
</style>
</head>
<body>
	<form>
		<input type="text" /> 
		<input type="password" />
	</form>
</body>
</html>