코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>HTML5 Input Attributes</title> </head> <body> <h1>formaction 속성</h1> <form action="/examples/media/request.php"> 사용자 : <input type="text" name="username"><br> 비밀번호 : <input type="password" name="password"><br><br> <input type="submit" value="전송"> <input type="submit" value="관리자 권한으로 전송" formaction="/examples/media/request_admin.php"><br> </form> </body> </html>