HTML
Contents
[
Hide
]
Converting Excel Workbook to HTML
The Aspose.Cells API provides support for exporting spreadsheets to HTML and format. For this purpose, Aspose.Cells uses the HtmlSaveOptions class to provide the flexibility to control several aspects of the output HTML.
The code example below shows how to save a workbook as an HTML file using C#:
Converting Excel Workbook to MHTML Files
MHTML combines normal HTML with external resources (that is, content that is usually linked in, like images, animations, audio, and so on) into one file. They are used for emails with the .mht file extension.Aspose.Cells supports reading and writing MHTML files.
The code example below shows how to save a workbook as an MHTML file using C#:
Advance topics
- AutoFit Columns and Rows while loading HTML in Workbook
- Avoid exponential notation of large numbers while importing from HTML
- Change the HTML Link Target Type
- Convert Excel to HTML with headings
- Convert Excel to HTML with tooltip
- Create Transparent Image of Excel Worksheet
- Delete redundant spaces after line break while importing HTML
- Disable Downlevel Revealed Comments while saving to HTML
- Disable Exporting Frame Scripts and Document Properties
- Excel to HTML - Use PresentationPreference Option for Better Layout
- Exclude Unused Styles during Excel to HTML conversion
- Expanding text from right to left while exporting Excel file to HTML
- Export DataBar, ColorScale and IconSet Conditional Formatting while Excel to HTML Conversion
- Export Comments while Saving Excel file to HTML
- Export Document Workbook and Worksheet Properties in Excel to HTML conversion
- Export Excel to HTML with GridLines
- Export print area range to HTML
- Export similar Border Style when Border Style is not supported by Web Browsers
- Export Worksheet CSS Separately in Output HTML
- Hiding Overlaid Content with CrossHideRight while saving to HTML
- Prefix Table Elements Styles with HtmlSaveOptions.TableCssId property
- Prevent Exporting Hidden Worksheet Contents on Saving to HTML
- Recognise Self Closing Tags
- Render Gradient Fill for the WordArt while Converting Spreadsheets to HTML
- Set column width to scalable unit like em or percent
- Set Default Font while rendering spreadsheet to HTML
- Specify how to cross string in output HTML using HtmlCrossType