If you need to inject dynamic HTML into the page you will find the HTML Element in the Marketplace is probably best to use.
https://marketplace.mendix.com/link/component/204843
You could use a Call REST action to get the content, returning this as a String that you can show on a page using the HTML Element widget.
Be very careful doing this, as it's a potential attack vector for a malicious third party to inject code into your application pages.
Good luck!