"HTML iframe sandbox 속성"의 두 판 사이의 차이

(새 문서: ==개요== ;HTML iframe sandbox Attribute ;HTML iframe sandbox 속성 <source lang='html5'> <iframe src="a.htm" sandbox></iframe> <iframe src="b.htm" sandbox="allow-forms"></iframe>...)
 
 
(사용자 2명의 중간 판 2개는 보이지 않습니다)
2번째 줄: 2번째 줄:
;HTML iframe sandbox Attribute
;HTML iframe sandbox Attribute
;HTML iframe sandbox 속성
;HTML iframe sandbox 속성
* iframe 내부의 컨텐츠에 대한 접근제한을 추가하는 속성


<source lang='html5'>
<source lang='html5'>
29번째 줄: 30번째 줄:


==같이 보기==
==같이 보기==
*[[HTML iframe]]
* [[샌드박스]]
* [[HTML iframe]]


==참고 자료==
==참고==
*http://www.w3schools.com/tags/att_iframe_sandbox.asp
*http://www.w3schools.com/tags/att_iframe_sandbox.asp


[[분류: HTML]]
[[분류: HTML]]

2019년 3월 6일 (수) 22:40 기준 최신판

1 개요[ | ]

HTML iframe sandbox Attribute
HTML iframe sandbox 속성
  • iframe 내부의 컨텐츠에 대한 접근제한을 추가하는 속성
<iframe src="a.htm" sandbox></iframe>
<iframe src="b.htm" sandbox="allow-forms"></iframe>
<iframe src="c.htm" sandbox="allow-same-origin allow-scripts"></iframe>

2 속성 값[ | ]

설명
(없음) 모든 제한 적용
allow-forms 폼 제출 허용
allow-pointer-lock API 허용
allow-popups 팝업 허용
allow-same-origin 같은 오리진으로 다루도록 허용
allow-scripts 스크립트 허용
allow-top-navigation top레벨 브라우징 컨텍스트 내비게이션 허용

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}