URL이 아닌 IFRAME 소스로서의 HTML 코드

You can use srcdoc attribute to include HTML Code to 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>

If your HTML contains double quotes, consider escaping its double quotes

답장을 남겨주세요

다음과 같이 설계되었습니다. 워드프레스 | 개인 정보 보호 정책 | 나를 위한 | 블로그 지원