HTML 공부하기 5번째 연습글은 input type 에 대해서 연습해보려합니다. ^-^

 

<html>

<head>

<title>input type 연습</title>

</head>

<body>

<fieldset>

<legend>회원가입창</legend>

<p>아이디:<input type="text" size="12" maxlength="8"></p>

<p>PASS:<input type="password" size="12" maxlength="8"></p>

<p>메일수신여부:<input type="radio" size="12" value="y" name="receive">예

<input type="radio" size="12" value="n" name="receive" checked="checked">아니오</p>

<p>파일올리기:<input type="file"></p>

<p><input type="hidden" value="#"></p>

<p>관심분야:<input type="checkbox" value="축구" name="chk1">축구

<input type="checkbox" value="야구" name="chk2">야구

<input type="checkbox" value="배구" name="chk3">배구

<input type="checkbox" value="농구" name="chk4">농구 <p/>

<p><input type="submit" value="전송">

<input type="reset" value="취소"></p>

</fieldset>

</body>

</html>

 

결과입니다.

 

다들 연습하시다보면 잘 하실 수 있어요!!! input type 어렵지 않아용 ><

HTML 공부하기는 oraclejavastudy 티스토리를 많이 방문해주세요!!

 

이번글은 input type에 대해서 알아보도록하겠습니다.

 

<!DOCTYPE HTML>

<html lang="ko-KR">

<head>

<meta charset="UTR-8">

<title>input type</title>

</head>

<body>

<h1>input type</h1><br>

color: <input type="color" name="color"><br><br>

date: <input type="date" name="date"><br><br>

email: <input type="email" name="date"><br><br>

search: <input type="search" name="search"><br><br>

tel:<input type="tel" name="tel"><br><br>

week:<input type="week" name="week"><br><br>

submit:<input type="submit" name="submit"><br><br>

</body>

</html>

 

결과를 보도록 할께요 ^^

 

 

손쉽게 input type를 작성하실 수 있습니다. ^^

궁금하신 점은 뎃글 남겨주세요.

 

이외에도 많은 input 요소들이 있어요. (저는 몇가지만 적었어요.)

 

 

 

 

'웹표준 > HTML5 & CSS3' 카테고리의 다른 글

html&css공부하기  (1) 2015.03.09
HTML5&CSS3 공부하기 글자색과 배경색 2  (0) 2015.03.02
HTML5&CSS3 공부하기 글자색과배경색  (0) 2015.02.25
HTML5&CSS3공부하기  (0) 2015.02.24
HTML5공부하기1 문서구조  (0) 2014.10.22

+ Recent posts