[HTML] input 태그(2) :: (부제)HTML5
캐떠린
HTML5 HTML 5.2가 나오면서 version이 사라졌다. 지금 우리는 5.1에서 계승된 확장 버전이 붙은 HTML을 사용 중이다. input.placeholder 속성 placeholder="값" 해당 입력 필드에 대한 설명(어떤 값을 입력해야 하는지 설명해주는 가이드) 해당 텍스트 박스에 값 입력 시 사라지며, 값을 지울 시 다시 보임! input.required 속성 required 명시하면 적용, 지우면 미 적용되는 속성 해당 입력 필드(form data)의 값을 서버로 전송 전, 필수로 입력 받게 하기 위한 장치 (모든 컨트롤들은 기본적으로 값의 입력 여부와 관계 없이 전송이 가능하기 때문에 → 필수 값을 입력 받기 위해서는 후처리를 해줘야 한다.) required 속성이 동작하는 inpu..