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