Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/87.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html iframe标记是否可以从Html编码的文本字符串中获取源?_Html_Iframe_Blazor Client Side - Fatal编程技术网

Html iframe标记是否可以从Html编码的文本字符串中获取源?

Html iframe标记是否可以从Html编码的文本字符串中获取源?,html,iframe,blazor-client-side,Html,Iframe,Blazor Client Side,html标记是否可能具有来自包含html标记的文本字符串的src属性?如果是的话,你能提供样品吗?我将回答我的问题。 这可以通过使用srcdoc属性来实现。因此, FWIW,srcdoc在IE和原始Edge(非Chromium Edge)的任何版本中都不受支持。这应该是一个越来越少的担忧,因为Windows7已经下线,微软正在Windows10中推出Chromium Edge。不过,这是需要注意的。哦。。。谢谢你的信息,我也这么认为。

html标记
是否可能具有来自包含html标记的文本字符串的src属性?如果是的话,你能提供样品吗?

我将回答我的问题。 这可以通过使用
srcdoc
属性来实现。因此,


FWIW,
srcdoc
在IE和原始Edge(非Chromium Edge)的任何版本中都不受支持。这应该是一个越来越少的担忧,因为Windows7已经下线,微软正在Windows10中推出Chromium Edge。不过,这是需要注意的。哦。。。谢谢你的信息,我也这么认为。