EmbeddedHTML
This feature relies on access to Wolfram Cloud.

EmbeddedHTML["string"]
is an object that formats as a web frame containing the HTML content "string".

EmbeddedHTML[CloudObject[]]
formats as a web rendering of the specified cloud object.

DetailsDetails

  • The string given to EmbeddedHTML can be HTML for a full HTML page, given in the form <html> ... </html>, or can be a sequence of pure HTML tags of the kind found in the body of an HTML page.
  • Using JavaScript or CSS requires giving the HTML for a full HTML page.
  • EmbeddedHTML is fully supported in the Wolfram Cloud System and can appear at any level in an expression. On desktop systems, it may be supported only as a separate browser window.
  • In the Wolfram Cloud System, EmbeddedHTML is rendered in an iframe and is robust with respect to malformed and malicious HTML.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Use HTML formatting inside a deployed expression:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2014
(10.0)