aspose.html

The Aspose.Html namespace contains classes and methods to manipulate HTML documents, whether simple or complex and on the fly. Aspose.HTML for .NET allows developers to Insert, Remove, Replace HTML nodes, extract CSS style information, Navigate through HTML document either by NodeIterator, TreeWalker that are provided by Traversal Specifications, XPath or CSS selector queries. It also offers the scripting which allows to manipulate HTML DOM via JavaScript. As well as HTML, this API also provides the capabilities to load EPUB and MHTML. Aspose APIs are famous for their inter file format conversion features and this API also provides the capabilities to load HTML file and render the output in PDF, XPS and raster image formats including JPEG, PNG, BMP and TIFF.

Classes

ClassDescription
ArrayBufferThe ArrayBuffer object is used to represent a generic, fixed-length raw binary data buffer.
ConfigurationRepresents the configuration context object that is used to set up the environment settings for the application.
Float32ArrayRepresents an array of 32-bit floating point numbers (corresponding to the C float data type) in the platform byte order.
Float64ArrayRepresents an array of 64-bit floating point numbers (corresponding to the C float data type) in the platform byte order.
FontsSettingsRepresents fonts handling settings.
HTMLAddressElementThe address element. See the ADDRESS element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLAnchorElementThe anchor element. See the A element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLAppletElementAn embedded Java applet. See the APPLET element definition in HTML 4.01.
This element is deprecated in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLAreaElementClient-side image map area definition. See the AREA element definition in
HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLBRElementForce a line break. See the BR element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLBaseElementDocument base URI [IETF RFC 2396]. See the BASE element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLBaseFontElementBase font. See the BASEFONT element definition in HTML 4.01. This element
is deprecated in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLBodyElementThe HTML document body. This element is always present in the DOM API, even
if the tags are not present in the source document. See the BODY element
definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLButtonElementPush button. See the BUTTON element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLCanvasElementThe HTMLCanvasElement interface provides properties and methods for manipulating the layout and presentation of canvas elements.
The HTMLCanvasElement interface also inherits the properties and methods of the HTMLElement interface.
HTMLDListElementDefinition list. See the DL element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLDataListElementThe datalist element represents a set of option elements that represent predefined options for other controls.
See also the HTML 5.2 W3C Recommendation.
HTMLDirectoryElementDirectory list. See the DIR element definition in HTML 4.01. This element
is deprecated in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLDivElementGeneric block container. See the DIV element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLDocumentAn HTMLDocument is the root of the HTML hierarchy and holds
the entire content. Besides providing access to the hierarchy, it also
provides some convenience methods for accessing certain sets of
information from the document.

The following properties have been deprecated in favor of the
corresponding ones for the BODY element.
In DOM Level 2, the method getElementById is inherited from the Document
interface where it was moved to.



See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLElementAll HTML element interfaces derive from this class. Elements that only
expose the HTML core attributes are represented by the base
HTMLElement interface. These elements are as follows:
special: SUB, SUP, SPAN, BDOfont: TT, I, B, U, S, STRIKE, BIG, SMALL
phrase: EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ACRONYM, ABBRlist:
DD, DTNOFRAMES, NOSCRIPTADDRESS, CENTERThe style attribute
of an HTML element is accessible through the
ElementCSSInlineStyle interface which is defined in the CSS
module [DOM Level 2 Style Sheets and CSS].

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLFieldSetElementOrganizes form controls into logical groups. See the FIELDSET element
definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLFontElementLocal change to font. See the FONT element definition in HTML 4.01. This
element is deprecated in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLFormElementThe FORM element encompasses behavior similar to a collection
and an element. It provides direct access to the contained form controls
as well as the attributes of the form element. See the FORM element
definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLFrameElementCreate a frame. See the FRAME element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLFrameSetElementCreate a grid of frames. See the FRAMESET element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLHRElementCreate a horizontal rule. See the HR element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLHeadElementDocument head information. See the HEAD element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLHeadingElementFor the H1 to H6 elements. See the H1 element
definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLHtmlElementRoot of an HTML document. See the HTML element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLIFrameElementInline subwindows. See the IFRAME element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLImageElementEmbedded image. See the IMG element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLInputElementForm control.Depending upon the environment in which the page is being
viewed, the value property may be read-only for the file upload input
type. For the “password” input type, the actual value returned may be
masked to prevent unauthorized use. See the INPUT element definition in [HTML 4.01].

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLIsIndexElementThis element is used for single-line text input. See the ISINDEX element
definition in HTML 4.01. This element is deprecated in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLLIElementList item. See the LI element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLLabelElementForm field label text. See the LABEL element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLLegendElementProvides a caption for a FIELDSET grouping. See the LEGEND
element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLLinkElementThe LINK element specifies a link to an external resource, and
defines this document’s relationship to that resource (or vice versa).
See the LINK element definition in HTML 4.01 (see also the
LinkStyle interface in the StyleSheet module [DOM Level 2 Style Sheets and CSS]).

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLMapElementClient-side image map. See the MAP element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLMenuElementMenu list. See the MENU element definition in HTML 4.01. This element is
deprecated in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLMetaElementThis contains generic meta-information about the document. See the META
element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLModElementNotice of modification to part of a document. See the INS and DEL element
definitions in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLNoScriptElementScript statements. See the NOSCRIPT element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLOListElementOrdered list. See the OL element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLObjectElementGeneric embedded object.In principle, all properties on the object element
are read-write but in some environments some properties may be read-only
once the underlying object is instantiated. See the OBJECT element
definition in [HTML 4.01].

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLOptGroupElementGroup options together in logical subdivisions. See the OPTGROUP element
definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLOptionElementA selectable choice. See the OPTION element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLParagraphElementParagraphs. See the P element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLParamElementParameters fed to the OBJECT element. See the PARAM element
definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLPreElementPreformatted text. See the PRE element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLQuoteElementFor the Q and BLOCKQUOTE elements. See the Q
element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLScriptElementScript statements. See the SCRIPT element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLSelectElementThe select element allows the selection of an option. The contained options
can be directly accessed through the select element as a collection. See
the SELECT element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLStyleElementStyle information. See the STYLE element definition in HTML 4.01, the CSS
module [DOM Level 2 Style Sheets and CSS] and the LinkStyle interface in the StyleSheets
module [DOM Level 2 Style Sheets and CSS].

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLTableCaptionElementTable caption See the CAPTION element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLTableCellElementThe object used to represent the TH and TD
elements. See the TD element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLTableColElementRegroups the COL and COLGROUP elements. See the
COL element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLTableElementThe create* and delete* methods on the table allow authors to construct and
modify tables. [HTML 4.01] specifies that only one of each of the
CAPTION, THEAD, and TFOOT elements
may exist in a table. Therefore, if one exists, and the createTHead() or
createTFoot() method is called, the method returns the existing THead or
TFoot element. See the TABLE element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLTableRowElementA row in a table. See the TR element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLTableSectionElementThe THEAD, TFOOT, and TBODY
elements.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLTemplateElementThe template element
HTMLTextAreaElementMulti-line text field. See the TEXTAREA element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLTitleElementThe title element. See the TITLE element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLUListElementUnordered list. See the UL element definition in HTML 4.01.

See also the Document object Model (DOM) Level 2 HTML Specification.
HTMLUnknownElementThe Unknown html element.
IConfigurationBuilderRepresents a Configuration object builder.
IDocumentFragmentElementRepresents common interface for all Document Fragment elements.
IHTMLFormElementRepresents a base interface that should be implemented by HTML Form Elements.
IHTMLOptionsCollectionAn HTMLOptionsCollection is a list of nodes representing HTML
option element. An individual node may be accessed by either ordinal
index or the node’s name or id attributes.
Collections in the HTML DOM are assumed to be live meaning that they are
automatically updated when the underlying document is changed.

See also the Document object Model (DOM) Level 2 HTML Specification.
@since DOM Level 2
IUrlSearchParamsProvides methods to work with URLs query string.
Int16ArrayRepresents an array of twos-complement 16-bit signed integers in the platform byte order.
Int32ArrayRepresents an array of twos-complement 32-bit signed integers in the platform byte order.
Int8ArrayRepresents an array of twos-complement 8-bit signed integers.
LicenseProvides methods to license the component.
MeteredProvides methods to set metered key.
MimeTypeRepresents an Internet Media Types
PlatformExceptionRepresents the base class for all exceptions that may occur during the application execution.
TypedArrayTypedArray objects present an array-like view of an underlying binary data buffer.
Uint16ArrayRepresents an array of twos-complement 16-bit unsigned integers in the platform byte order.
Uint32ArrayRepresents an array of twos-complement 32-bit unsigned integers in the platform byte order.
Uint8ArrayRepresents an array of twos-complement 8-bit unsigned integers.
Uint8ClampedArrayRepresents an array of 8-bit unsigned integers clamped to 0-255; if you specified a value that is out of the range of [0,255], 0 or 255 will be set instead;
UrlProvides an object representation of a universal identifier (URL).

Enumerations

EnumerationDescription
SandboxA sandboxing flag set is a set of zero or more of the following flags, which are used to restrict the abilities that potentially untrusted resources.