코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title> HTML Input Attributes</title> </head> <body> <h1>disabled 속성을 이용한 필드 사용 제한</h1> <form action="/examples/media/request.php"> 이름 : <br> <input type="text" name="student_name"><br> 학번 : <br> <input type="text" name="student_id"><br> 학과 : <br> <input type="text" name="department" value="컴퓨터공학과" disabled><br><br> <input type="submit" value="전송"> </form> </body> </html>