為的內容啟用額外的限制
Use the sandbox attribute to enable an extra set of restrictions for the content in an <iframe> in HTML.
Example
You can try to run the following code to implement sandbox attribute −
<!DOCTYPE html> <html> <body> <iframe src = "new.htm" sandbox> <p>Your browser does not support iframes.</p> </iframe> </body> </html>
Advertisements
資料結構
網路
關係型資料庫管理系統
作業系統
Java
iOS
HTML
CSS
Android
Python
C程式語言
C++
C#
MongoDB
MySQL
Javascript
PHP