srcdoc 属性を使用ã—ã¦ã€HTML コードを Iframe ã«å«ã‚ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚
<iframe srcdoc="<html><body>Hello, <b>world</b>.</body></html>"></iframe>
For JSF as htmlCode is the code as String
<iframe srcdoc="${bean.htmlCode}"></iframe>
HTML ã®å ´åˆ 二é‡å¼•用符ãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€ 考慮ã™ã‚‹ 二é‡å¼•用符をエスケープã™ã‚‹

返信を残ã™