The HtmlParser class is responsible for parsing HTML content and converting it into a series of HTML elements with styles.
HtmlParser
HtmlParser 类负责解析 HTML 内容,将其转换为一系列具有样式的 HTML 元素。
静态
A mapping of HTML element types to their corresponding classes.
将 HTML 元素类型映射到它们对应的类。
The default instance of the HtmlParser class.
HtmlParser 类的默认实例。
The HTML source to parse.
The default text style to apply.
The array to populate with parsed HTML elements.
可选
The options for parsing the HTML.
Parses the given HTML source and populates the output array with HTML elements.
解析给定的 HTML 源代码,并将输出数组填充为 HTML 元素。
En
The
HtmlParser
class is responsible for parsing HTML content and converting it into a series of HTML elements with styles.Zh
HtmlParser
类负责解析 HTML 内容,将其转换为一系列具有样式的 HTML 元素。