
<h1>네이버 검색</h1>
<form method="GET" action="https://search.naver.com/search.naver" target="_blank">
<input type="text" name="query" placeholder="검색어">
<button type="submit">검색</button>
</form>
<h1>다음 검색</h1>
<form method="GET" action="https://search.naver.com/search.naver" target="_blank">
<input type="text" name="q" placeholder="검색어">
<button type="submit">검색</button>
</form>
<h1>basic1 로그인</h1>
<form method="GET" action="http://localhost:8080/member/login" target="_blank">
<input type="text" name="username" placeholder="아이디">
<input type="password" name="password" placeholder="비밀번호">
<button type="submit">로그인</button>
</form>
- method - 배송 방법
- action - 받는 사람
- form 안의 요소 - 편지 내용