'How to put new page into a frame thats inside main html? [closed]

Im trying to put a graph that can be interactable with main page onto the canvas. ive seen many pages that use this: "#document" being used inside frame

im not sure how to connect everything together. could someone teach me how to do this? thanks :)



Solution 1:[1]

You can easily reach your purpose by use iframe:

<iframe id="inlineFrameExample"
    title="Inline Frame Example"
    width="300"
    height="200"
    src="https://www.openstreetmap.org/export/embed.html?bbox=-0.004017949104309083%2C51.47612752641776%2C0.00030577182769775396%2C51.478569861898606&layer=mapnik">
</iframe>

See more: iframe

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 mikenlanggio