Notice
Recent Posts
Recent Comments
Link
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Archives
Today
Total
관리 메뉴

codingfarm

hidden 본문

web/HTML5

hidden

scarecrow1992 2020. 9. 27. 23:47
1
2
3
4
5
6
7
8
9
10
11
12
<html>
    <head>
        <meta charset="utf-8">
    </head>
    <body>
        <form action="http://localhost/hidden.php">
            text : <input type="text" name="id"><br>
            hidden : <input type="hidden" name="hide" value="egoing"><br>
            <input type="submit">
        </form>
    </body>
</html>
cs

hidden 타입에 의해 입력창이 가려진 모습이다.

하지만 질의 보내기를 클릭하면

 

http://localhost/hidden.php?id=abcdef&hide=egoing

hide=egoing 이라는 가려저 있던 정보가 그대로 전송되는걸 확인 할 수 있다.

 

 

 

'web > HTML5' 카테고리의 다른 글

form : method  (0) 2020.09.29
label  (0) 2020.09.28
button  (0) 2020.09.27
radio, checkbox  (0) 2020.09.27
form_choice  (0) 2020.09.27
Comments