[jquery,js]반복문+페이지 이동하기
·
카테고리 없음
Item (명명된 매개변수) - 처리할 현재 요소(값)Index (선택적 매개변수) - 처리할 현재 요소의 인덱스(배열 위치)jquery방식 반복문 : $.each(배열,function(index, item){})js방식 반복문 : 배열.forEach(function(item, index){}) 배열예제let arr = [ { name : 'Naver', link : 'https://www.naver.com' }, { name : 'Daum', link : 'https://www.daum.net/' }, { name : 'Nate', link : 'https://www.nate.com' }, { name : 'Google', link : 'https://www.google.com/' }, { name :..
[html/css] Input type
·
HTML|CSS
20240731수업 input type 종류input tupe 형식 HTML INPUT type button: button: :버튼 text(userid): password(passwd): hidden(page): radio checkbox image file submit reset email search tel color url number range date datetime-local month week time string color HTML 삽입미리보기할 수 없는 소스 type의 기본값은 "text"임.XML : extensible markup language •markup language(태그를 가지고 쓰는 언어)의 기준 언어-인터넷 문서 표현 html, data -> xml 규칙..