사용자 도구

사이트 도구


study:html5

HTML5

var list = document.querySelectAll("li");
console.log(toString.call(list);

input 추가된 types

입력 type의 유효성검사를 자동으로 해줌.

  • color
  • date
  • datetime
  • datetime-local
  • email
  • month
  • number
  • range
  • search
  • tel
  • time
  • url
  • week

form/input attribute

  • autocomplte - 자동완성 - on/off
  • placeholder - input tag에 정보를 알려줌.
  • autofocus - 화면 보여질 cursor위치지정

입력 값 체크

  • required - 필수입력
  • pattern - 정규식으로 체크
study/html5.txt · 마지막으로 수정됨: 2025/04/15 10:05 저자 127.0.0.1