embed-page demo - inline html

embed-page allows to run its content in insulation from host page, including CSS and JS.

NOTE: encapsulate the insulated content into TEMPLATE tag to prevent execution in page context.

Its HTML content could be set

1. This H3 element has default styles, but H3 within this embed-page content should have a chocolate text color

2. This H3 element should NOT be in Courier(monospace) font and NOT in green and blue on button click

by setting content from from text area:

Visual demo steps

CSS
    1. The H3 header above should be intact(default) in color and text size
        AND h3 within embed-page use chocolate text color.
    2. The H3 from embedded content should be in monospace font.
JS  3. Click on 'make blue' the embedded H3 should be blue colored.
    4. After 'innerHTML' click the H3 from embedded content should become green.