OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Read an XHTML file as plain text:

Import["ExampleData/mersenne.xhtml"]

Show the (RefLink[Import, paclet:ref/Import]) elements available in this file:

Import["ExampleData/mersenne.xhtml","Elements"]

Import the tabular content from this file:

Import["ExampleData/mersenne.xhtml","Data"] // TableForm

This exports a mathematical expression to HTML:

Export["formula.xhtml",Sqrt[x^2-y^2]]

Show the names of the files saved into the HTMLFiles directory:

Import["HTMLFiles", "Directory"]

Import the rasterized typeset expression:

Import["HTMLFiles/formula.xhtml_1.gif"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {Related Formats:  (RefLink[GIF, paclet:ref/format/GIF])  ▪  (RefLink[HTML, paclet:ref/format/HTML])  ▪  (RefLink[LaTeX, paclet:ref/format/LaTeX])  ▪  (RefLink[NB, paclet:ref/format/NB])  ▪  (RefLink[TeX, paclet:ref/format/TeX])  ▪  (RefLink[XHTMLMathML, paclet:ref/format/XHTMLMathML])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Creating Web Pages, paclet:guide/CreatingWebPages])}, {▪(RefLinkPlain[Graphics Importing & Exporting, paclet:guide/GraphicsImportingAndExporting])}, {▪(RefLinkPlain[Importing & Exporting, paclet:guide/ImportingAndExporting])}, {▪(RefLinkPlain[Listing of All Formats, paclet:guide/ListingOfAllFormats])}, {▪(RefLinkPlain[Web Formats, paclet:guide/WebFormats])}, {▪(RefLinkPlain[XML Formats, paclet:guide/XMLFormats])}, {▪(RefLinkPlain[XML Import & Export, paclet:guide/XMLImportAndExport])}})}})