1-16 입력 양식 필터 input type=text
<!DOCTYPE html><html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script src ="../js/jquery-3.2.1.js"></script>
</head>
<script>
$(function(){
$('input[type="text"]').val('Hello jQuery..!!!');
alert ($('input[type="text"]').val());
$('input[type="text"]').css('color', 'red');
$('input[type="password"]').css('color', 'green');
$('input[type="file"]').css('background', 'pink');
/* $('input:text').val('Hello jQuery..!!!');
$('input:text').val('color','red');
$('input:password').val('color','green');
$('input:file').val('background','pink'); */
});
</script>
<body>
<input type ="text" value="저요?"> <br>
<input type ="password" > <br>
<input type ="radio" > <br>
<input type ="checkbox" > <br>
<input type ="file" > <br>
</body>
</html>