코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>HTML button tag - form attribute</title> </head> <body> <form action="/examples/media/action_target.php" method="get" id="loginForm"> 이름 : <input type="text" name="st_name"><br> 학번 : <input type="text" name="stt_d"><br> 학과 : <input type="text" name="department"><br><br> </form> <button type="submit" form="loginForm">제출하기</button> </body> </html>