: 유저로부터 정보를 받기 위한 태그
<form action="/example.html" method="POST">
</form>
-> action은 정보가 보내지는 곳을 결정
-> method는 get 또는 post가 있다고 하는데, 정보가 많으면 post를 쓴다고 들었다.(잘모르겠다🤷♂️)
<form action="https://www.google.com/search" target="_blank">
<input type="text" name="q">
<button>search it</button>
</form>
<form action="https://www.youtube.com/results" target="_blank">
<input type="text" name="search_query">
<button>youtube</button>
</form>
<input type="" placeholder='아이디를 입력하세요'
maxlength="13" minlenth="5" required disabled/>
<form>
<h1>Login to start creating a burger!</h1>
<label for="username">Username:</label>
<input type="text" name="username" id="username">
<br>
<label for="user-pw">Password:</label>
<input type='password' id='user-pw' name='user-pw'>
</form>
<form>
<label for="years"> Years of experience: </label>
<input id="years" name="years" type="number" step="1">
<!--step creates arrows inside the input field-->
</form>
<input type="file" multiple/ accept="image/*, video/*">
<label for='user_name'>이름</label>
<input type='text' id='user_name'>
<input type='radio' value='yes' name='subscription'id='subscribed'>
<label for='subscribed'> 구독중 </label>
<input type='radio' value='no' name='subscription'id='unsubscribed'>
<label for='unsubscribed'> 미구독 </label>
<h1> 사용가능언어 <h1/>
<input type='checkbox' name='skills'id='html'>
<label for='html'> html </label>
<input type='checkbox' name='skills'id='css'>
<label for='css'> css </label>
<input type='checkbox' name='skills'id='js'>
<label for='js'> js </label>
<label for='skills'>사용 가능한 언어</label>
<select multiple name='skills' id='skills'>
<option value='0'>html</option>
<option value='1'>css</option>
<option value='2'>js</option>
</select>
<label for='hi'></label>
<textarea id='hi' placeholder='글을 써주세요!'></textarea>
긴글 가능
<input type='text'/>
짧은 단어 문장과 같은 것들
<button type='button'> click me! </button>
<button type='submit'> 제출하기 </button>
<button type='reset'> 다시쓰기 </button>