<html lang="ko">
<head>
<meta charset="UTF-8">
<title>HTML Input Attributes</title>
</head>
<body>
<h1>readonly 속성을 이용한 필드값 수정 제한</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="컴퓨터공학과" readonly><br><br>
<input type="submit" value="전송">
</form>
</body>
</html>