DevilStudy

form태그 본문

프로그래밍공부/HTML

form태그

Devil-Choi 2009. 3. 3. 10:36
<form action="폼요소데이터가 이동할 위치" method="이동방법"> 한줄 입력글상자 : <input type="text" /> 한줄 비밀번호 입력상자 : <input type="password" /> </form>★ maxlength : 최대 입력할수 있는 글자수 지정

여러줄 입력 글상자 cols : 공백을 포함, 가로로 적힐 글자의 칸수
rows : 글자를 몇줄까지 적을것인지 설정 , 세로길이


체크박스 : <input type="checkbox" name="a" checked /> 라디오박스 : <input type="radio" name="hap" /> 일반버튼 : <input type="button" value="눌러보셈~" /> 취소버튼 : <input type="reset" value="최소할꺼얌!" /> 전송버튼 : <input type="submit" value="전송합니다" /> 전송이미지 : <input type="image" src="" /> 드롭다운 : <select> <option>야구</option> <option selected>축구</option> <option>농구</option> </select> 파일등록 : <input type="file">
Comments