Excerpt Include | |||||||
---|---|---|---|---|---|---|---|
|
The following table lists the HTML tags that HTMLToWord explicitly supports.
...
HTML Tag | Description | Support Level |
---|---|---|
a | Inserts a hyperlink. | Partial |
b | Renders the text as bold. | Full |
blockquote | Offsets text and narrows the left and right margins. | Full |
br | Insert a line break. | Full |
code | Renders the text in-line with a mono-spaced font. | Full |
del | Renders text as strike-through. | Partial |
dir | Inserts an unordered list into the document. (Note, this tag is deprecated as of HTML 4.01.) | Full |
div | Mimics HTML by separating content from surrounding text. | Partial |
em | Renders the text as italics. | Full |
font | Changes the font face, font size and/or font color. Size can be either absolute or relative. If given a comma-separated list of faces, uses the first face only. Color can be either a name or an HTML code, such as #FFFFFF for white. | Full |
h1 . . . h6 | Applies styles corresponding to Microsoft Word styles H1 through H6. | Partial |
i | Italicize text. | Full |
img | Inserts an image in-line with the text. Relies on the GetImageDelegate method to retrieve the actual data bits of the image. | Partial |
ins | Renders text as underlined. | Partial |
li | Creates a new item in the enclosing list. | Partial |
menu | Inserts an unordered list into the document. (Note, this tag is deprecated as of HTML 4.01.) | Full |
ol | Ordered (numbered) list. | Partial |
p | Paragraph. The align attribute is supported. | Full |
pre | Renders text in a mono-spaced font. Offsets block of text from surrounding text with an extra blank line before and after. | Partial |
s | Renders text as strikethrough. | Full |
span | Used to specify characteristics for a section of text with a block. | Full |
strike | Renders text as strikethrough. | Full |
strong | Renders text as bold. | Full |
style | HTMLToWord does not parse the style tag; however, users can parse a style using a delegate method. | Partial |
sub | Renders text as subscript | Full |
sup | Renders text as superscript | Full |
table | Inserts a table into the document. Nested tables are supported. | Partial |
tbody | Body of a table. | Partial |
td | Specifies the contents of a table cell. | Partial |
tr | Table row. | Full |
tt | Renders text in a serifed, mono-spaced font (Courier New). | Full |
u | Renders text as underlined. | Full |
ul | Unordered (bulleted) list. | Partial |