{"id":408,"date":"2022-06-07T05:16:28","date_gmt":"2022-06-07T05:16:28","guid":{"rendered":"https:\/\/satokotadesign.com\/blog\/?p=408"},"modified":"2022-06-07T05:16:28","modified_gmt":"2022-06-07T05:16:28","slug":"html_iframe","status":"publish","type":"post","link":"https:\/\/satokotadesign.com\/blog\/html_iframe\/","title":{"rendered":"\u3010HTML\u3011PHP\u3092\u4f7f\u308f\u305a\u306biframe\u3067\u5916\u90e8HTML\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u65b9\u6cd5"},"content":{"rendered":"<p><span>\u3053\u3093\u306b\u3061\u306f\uff01\u9759\u5ca1\u770c\u6d5c\u677e\u5e02\u3067\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u5236\u4f5c\u3092\u3057\u3066\u3044\u308b\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9WEB\u30c7\u30b6\u30a4\u30ca\u30fc\u306e\u3053\u305f\u3067\u3059\u3002<\/span><\/p>\n<p>Web\u5236\u4f5c\u3092\u3059\u308b\u3068\u304d\u306bPHP\u3067\u306f\u3067\u304d\u308b\u3051\u3069\u3001HTML\u3067\u306f\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u6ca2\u5c71\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u524d\u306b\u3053\u306e\u3088\u3046\u306a\u4e8b\u4f8b\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>PHP\u306f\u4f7f\u7528\u305b\u305a\u306bHTML\u30d5\u30a1\u30a4\u30eb\u3067\u4f5c\u6210\u3057\u3066\u6b32\u3057\u3044\u3002\u305d\u306e\u969b\u306b\u3001\u5916\u90e8\u306eHTML\u30d5\u30a1\u30a4\u30eb\u3092\u8868\u793a\u3055\u305b\u308b\u3088\u3046\u306a\u4ed5\u7d44\u307f\u306b\u3057\u3066\u6b32\u3057\u3044\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u6848\u4ef6\u306f\u306a\u304b\u306a\u304b\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u3082\u3057\u3082\u306e\u969b\u306b\u5f79\u7acb\u3064\u3068\u601d\u3044\u3001\u81ea\u5206\u306e\u5099\u5fd8\u9332\u306e\u305f\u3081\u306b\u3082\u66f8\u304b\u305b\u3066\u3082\u3089\u3044\u307e\u3059\u3002<\/p>\n<p>PHP\u306e\u3088\u3046\u306b\u5171\u901a\u3067\u9069\u5fdc\u3057\u305f\u3044header\u3084footer\u306f\u5171\u901a\u5316\u3059\u308b\u3068\u5909\u66f4\u4fee\u6b63\u304c\u3042\u308b\u3068\u304d\u306b\u4f5c\u696d\u304c\u30e9\u30af\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">iframe\u3067\u5916\u90e8HTML\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080<\/span><\/h2>\n<pre class=\"line-numbers\"><code class=\"language-markup\">&lt;iframe src=\"\u8aad\u307f\u8fbc\u307f\u305f\u3044\u30d5\u30a1\u30a4\u30eb\u306e\u76f8\u5bfe\u30d1\u30b9\/\u30d5\u30eb\u30d1\u30b9\"&gt;&lt;\/iframe&gt;<\/code><\/pre>\n<p>\u5916\u90e8\u306eHTML\u3092\u8aad\u307f\u8fbc\u3080\u306b\u306fiframe\u3092\u4f7f\u3046\u65b9\u6cd5\u304c\u4e00\u756a\u7c21\u5358\u3067\u3059\u3002<\/p>\n<p>\u8aad\u307f\u8fbc\u307f\u305f\u3044\u5834\u6240\u306b&lt;iframe&gt;\u30bf\u30b0\u3092\u5165\u308c\u3066\u3001src\u306b\u8aad\u307f\u8fbc\u307f\u305f\u3044\u30d5\u30a1\u30a4\u30eb\u306e\u76f8\u5bfe\u30d1\u30b9\u307e\u305f\u306f\u30d5\u30eb\u30d1\u30b9\u3092\u5165\u308c\u308b\u3053\u3068\u3067\u8aad\u307f\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3 class=\"sc_heading bborder a blue\"><span class=\"sc_title\">iframe\u3067\u8aad\u307f\u8fbc\u3080\u969b\u306e\u6ce8\u610f\u70b9<\/span><\/h3>\n<p>iframe\u3067\u5916\u90e8\u306eWeb\u30da\u30fc\u30b8\u3092\u57cb\u3081\u8fbc\u3080\u3068\u304d\u306b\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u9762\u3067\u306e\u30ea\u30b9\u30af\u304c\u3042\u308b\u3053\u3068\u3092\u899a\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30d5\u30a9\u30fc\u30e0\u3092iframe\u3067\u8aad\u307f\u8fbc\u3080\u969b\u306f\u500b\u4eba\u60c5\u5831\u306e\u6f0f\u6d29\u306e\u30ea\u30b9\u30af\u304c\u9ad8\u307e\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001JavaScript\u3067\u7121\u9650\u30eb\u30fc\u30d7\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u3092\u7d44\u307f\u8fbc\u307e\u308c\u308b\u5371\u5bb3\u3092\u53d7\u3051\u3066\u3057\u307e\u3046\u53ef\u80fd\u6027\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>iframe\u3067\u306e\u8aad\u307f\u8fbc\u307f\u306b\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<h4 class=\"sc_heading bborder l blue\"><span class=\"sc_title\" style=\"font-size: 18pt;\">sandbox\u5c5e\u6027\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4fdd\u8b77<\/span><\/h4>\n<p>iframe\u3067\u306fsandbox\u3068\u3044\u3046\u5c5e\u6027\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4fdd\u8b77\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u53b3\u5bc6\u306b\u3044\u3046\u3068sandbox\u3068\u3044\u3046\u5c5e\u6027\u306f\u5143\u306e\u30da\u30fc\u30b8\u3068\u5916\u90e8\u306e\u30da\u30fc\u30b8\u3092\u5207\u308a\u96e2\u3059\u51e6\u7406\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u8aad\u307f\u8fbc\u3093\u3060iframe\u3067\u51e6\u7406\u3092\u884c\u3044\u305f\u304f\u306a\u3044\u5834\u5408\u306f\u3001\u5e38\u8a2d\u3067\u8a2d\u7f6e\u3057\u305f\u307b\u3046\u304c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u9762\u3067\u826f\u3044\u306e\u3067\u30bb\u30c3\u30c8\u3067\u899a\u3048\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"sc_heading fukidasi blue\"><span class=\"sc_title\" style=\"font-size: 18pt;\">\u5168\u3066\u306e\u5236\u9650\u3092\u304b\u3051\u308b<\/span><\/div>\n<pre class=\"line-numbers\"><code class=\"language-markup\">&lt;iframe src=\"\u8aad\u307f\u8fbc\u307f\u30d5\u30a1\u30a4\u30eb\" sandbox&gt;&lt;\/iframe&gt;<\/code><\/pre>\n<p>\u5168\u3066\u306e\u5236\u9650\u3092\u304b\u3051\u308b\u5834\u5408\u306f\u300csandbox\u300d\u306e\u307f\u8a18\u5165\u3059\u308b\u3002<\/p>\n<div class=\"sc_heading fukidasi blue\"><span style=\"font-size: 18pt;\">\u30d5\u30a9\u30fc\u30e0\u306e\u9001\u4fe1\u306e\u307f\u3092\u8a31\u53ef\u3057\u305f\u3044<\/span><\/div>\n<div>\n<pre class=\"line-numbers\"><code class=\"language-markup\">&lt;iframe src=\"\u8aad\u307f\u8fbc\u307f\u30d5\u30a1\u30a4\u30eb\" sandbox=\"allow-forms\"&gt;&lt;\/iframe&gt;<\/code><\/pre>\n<p>\u30d5\u30a9\u30fc\u30e0\u306e\u9001\u4fe1\u306e\u307f\u3092\u8a31\u53ef\u3057\u305f\u3044\u5834\u5408\u306f\u300csandbox=\"allow-forms\"\u300d<\/p>\n<\/div>\n<div class=\"sc_heading fukidasi blue\"><span style=\"font-size: 18pt;\"><span>JavaScript<\/span>\u306e\u307f\u3092\u8a31\u53ef\u3057\u305f\u3044<\/span><\/div>\n<div>\n<pre class=\"line-numbers\"><code class=\"language-markup\">&lt;iframe src=\"\u8aad\u307f\u8fbc\u307f\u30d5\u30a1\u30a4\u30eb\" sandbox=\"allow-scripts\"&gt;&lt;\/iframe&gt;<\/code><\/pre>\n<\/div>\n<p>JavaScript\u306e\u307f\u306e\u52d5\u304d\u3092\u8a31\u53ef\u3057\u305f\u3044\u5834\u5408\u306f\u300csandbox=\"allow-scripts\"\u300d<\/p>\n<div class=\"sc_heading fukidasi blue\"><span style=\"font-size: 18pt;\"><span>\u8907\u6570\u306e\u51e6\u7406\u3092\u8a31\u53ef\u3057\u305f\u3044\uff08\u30d5\u30a9\u30fc\u30e0\u306e\u9001\u4fe1\uff06JavaScript<\/span>\uff09<\/span><\/div>\n<div>\n<pre class=\"line-numbers\"><code class=\"language-markup\">&lt;iframe src=\"\u8aad\u307f\u8fbc\u307f\u30d5\u30a1\u30a4\u30eb\" sandbox=\"allow-forms allow-scripts\"&gt;&lt;\/iframe&gt;<\/code><\/pre>\n<\/div>\n<p>\u8907\u6570\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306f\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u3067\u533a\u5207\u308a\u307e\u3059\u3002<\/p>\n<h4 class=\"sc_heading bborder l blue\"><span class=\"sc_title\" style=\"font-size: 18pt;\">\u305d\u306e\u4ed6\u306esandbox\u30d7\u30ed\u30d1\u30c6\u30a3<\/span><\/h4>\n<table border=\"1\" style=\"border-collapse: collapse; width: 100%; height: 539px;\">\n<tbody>\n<tr style=\"height: 49px;\">\n<td style=\"width: 26.7083%; height: 49px; background: #d1e8ff;\">allow-forms<\/td>\n<td style=\"width: 73.2917%; height: 49px;\">\u30d5\u30a9\u30fc\u30e0\u306e\u9001\u4fe1\u3092\u8a31\u53ef<\/td>\n<\/tr>\n<tr style=\"height: 49px;\">\n<td style=\"width: 26.7083%; height: 49px; background: #d1e8ff;\">allow-scripts<\/td>\n<td style=\"width: 73.2917%; height: 49px;\">JavaScript\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3092\u8a31\u53ef<\/td>\n<\/tr>\n<tr style=\"height: 49px;\">\n<td style=\"width: 26.7083%; height: 49px; background: #d1e8ff;\">allow-modals<\/td>\n<td style=\"width: 73.2917%; height: 49px;\">\u30e2\u30fc\u30c0\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u8a31\u53ef<\/td>\n<\/tr>\n<tr style=\"height: 49px;\">\n<td style=\"width: 26.7083%; height: 49px; background: #d1e8ff;\">allow-popups<\/td>\n<td style=\"width: 73.2917%; height: 49px;\">window.open()\u3084target=\"_blank\"\u306a\u3069\u306e\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u3092\u8a31\u53ef<\/td>\n<\/tr>\n<tr style=\"height: 49px;\">\n<td style=\"width: 26.7083%; height: 49px; background: #d1e8ff;\">allow-same-origin<\/td>\n<td style=\"width: 73.2917%; height: 49px;\">\u30ea\u30bd\u30fc\u30b9\u304c\u540c\u3058\u30aa\u30ea\u30b8\u30f3\u3068\u306a\u308b\u3053\u3068\u3092\u8a31\u53ef\u3002Web\u30d5\u30a9\u30f3\u30c8\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u3068\u304d\u306f\u30b3\u30ec\u3092\u6307\u5b9a\u3059\u308b\u3002<\/td>\n<\/tr>\n<tr style=\"height: 49px;\">\n<td style=\"width: 26.7083%; height: 49px; background: #d1e8ff;\">allow-orientation-lock<\/td>\n<td style=\"width: 73.2917%; height: 49px;\">\u753b\u9762\u306e\u5411\u304d\u306e\u30ed\u30c3\u30af\u3092\u8a31\u53ef<\/td>\n<\/tr>\n<tr style=\"height: 49px;\">\n<td style=\"width: 26.7083%; height: 49px; background: #d1e8ff;\">allow-pointer-lockPointer<\/td>\n<td style=\"width: 73.2917%; height: 49px;\">\u00a0Lock API\uff08\u30de\u30a6\u30b9\u30ab\u30fc\u30bd\u30eb\u306e\u56fa\u5b9a\uff09\u3092\u8a31\u53ef<\/td>\n<\/tr>\n<tr style=\"height: 49px;\">\n<td style=\"width: 26.7083%; height: 49px; background: #d1e8ff;\">allow-presentation<\/td>\n<td style=\"width: 73.2917%; height: 49px;\">\u30d7\u30ec\u30bc\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u30e2\u30fc\u30c9\u3092\u8a31\u53ef<\/td>\n<\/tr>\n<tr style=\"height: 49px;\">\n<td style=\"width: 26.7083%; height: 49px; background: #d1e8ff;\">allow-popups-to-escape-sandbox<\/td>\n<td style=\"width: 73.2917%; height: 49px;\">\u57cb\u3081\u8fbc\u307f\u30b3\u30f3\u30c6\u30f3\u30c4\u304b\u3089\u5225\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u958b\u3044\u305f\u3068\u304d\u306b\u3001sandbox\u306e\u5236\u9650\u3092\u5f15\u304d\u7d99\u304c\u306a\u3044\u3088\u3046\u306b<\/td>\n<\/tr>\n<tr style=\"height: 49px;\">\n<td style=\"width: 26.7083%; height: 49px; background: #d1e8ff;\">allow-top-navigation<\/td>\n<td style=\"width: 73.2917%; height: 49px;\">\u57cb\u3081\u8fbc\u307f\u5143\u306e\u30da\u30fc\u30b8\u9077\u79fb\u306e\u64cd\u4f5c\u3092\u8a31\u53ef<\/td>\n<\/tr>\n<tr style=\"height: 49px;\">\n<td style=\"width: 26.7083%; height: 49px; background: #d1e8ff;\">allow-top-navigation-by-user-activation<\/td>\n<td style=\"width: 73.2917%; height: 49px;\">\u30e6\u30fc\u30b6\u30fc\u306e\u64cd\u4f5c\u306b\u3088\u308b\u5834\u5408\u306e\u307f\u3001\u57cb\u3081\u8fbc\u307f\u5143\u306e\u30da\u30fc\u30b8\u9077\u79fb\u306e\u64cd\u4f5c\u3092\u8a31\u53ef<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">\u307e\u3068\u3081<\/span><\/h2>\n<p>iframe\u3067HTML\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u3053\u3068\u306f\u666e\u6bb5\u306f\u4f7f\u308f\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001PHP\u304c\u4f7f\u7528\u3067\u304d\u306a\u3044\u5834\u9762\u3067\u6d3b\u8e8d\u3057\u305d\u3046\u3067\u3059\u306d\u3002<\/p>\n<p>\u307e\u305f\u3001iframe\u3092\u4f7f\u3063\u305f\u3089\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u3053\u3068\u3082\u982d\u306b\u3044\u308c\u3064\u3064sandbox\u3067\u5bfe\u5fdc\u3057\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u9759\u5ca1\u770c\u6d5c\u677e\u5e02\u3067\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u5236\u4f5c\u3092\u3057\u3066\u3044\u308b\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9WEB\u30c7\u30b6\u30a4\u30ca\u30fc\u306e\u3053\u305f\u3067\u3059\u3002 Web\u5236\u4f5c\u3092\u3059\u308b\u3068\u304d\u306bPHP\u3067\u306f\u3067\u304d\u308b\u3051\u3069\u3001HTML\u3067\u306f\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u6ca2\u5c71\u3042\u308a\u307e\u3059\u3002 \u524d\u306b\u3053\u306e\u3088\u3046\u306a\u4e8b\u4f8b\u304c\u3042\u308a\u307e\u3057\u305f\u3002 PHP\u306f\u4f7f\u7528\u305b\u305a\u306bHTML\u2026<\/p>\n","protected":false},"author":1,"featured_media":414,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[7],"tags":[13],"class_list":["post-408","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web","tag-html"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts\/408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/comments?post=408"}],"version-history":[{"count":6,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts\/408\/revisions"}],"predecessor-version":[{"id":415,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts\/408\/revisions\/415"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/media\/414"}],"wp:attachment":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/media?parent=408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/categories?post=408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/tags?post=408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}