코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>HTML button tag - type attribute</title> </head> <body> <form action="/examples/media/action_target.php" method="get"> 이름 : <input type="text" name="st_name" value="홍길동"><br> 학번 : <input type="text" name="st_id"><br><br> <button type="submit">제출하기</button> <button type="reset">초기값으로 리셋하기</button> </form> </body> </html>