사용자 도구

사이트 도구


study:html5

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
study:html5 [2018/08/05 13:56] taekgustudy:html5 [2025/04/15 10:05] (현재) – 바깥 편집 127.0.0.1
줄 1: 줄 1:
 ===== HTML5 ===== ===== HTML5 =====
  
-==== input types ====+<code javascript> 
 +var list = document.querySelectAll("li"); 
 +console.log(toString.call(list); 
 +</code> 
 +==== input 추가된 types ==== 
 +입력 type의 유효성검사를 자동으로 해줌.
   * color   * color
   * date   * date
줄 15: 줄 20:
   * url   * url
   * week   * week
 +==== form/input attribute ====
 +  * autocomplte - 자동완성 - on/off
 +  * placeholder - input tag에 정보를 알려줌.
 +  * autofocus - 화면 보여질 cursor위치지정
 +==== 입력 값 체크 ====
  
 +  * required - 필수입력
 +  * pattern - 정규식으로 체크
study/html5.1533477373.txt.gz · 마지막으로 수정됨: 2025/04/15 10:05 (바깥 편집)