코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>HTML5 Input Attributes</title> </head> <body> <h1>formtarget 속성</h1> <form action="/examples/media/request.php"> 사용자 이름을 입력해주세요 : <input type="text" name="username"><br><br> <input type="submit" value="전송"> <input type="submit" value="응답 화면을 새창에 표시" formtarget="_blank"><br> </form> </body> </html>