> For the complete documentation index, see [llms.txt](https://astro-rpa.gitbook.io/astro-rpa-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://astro-rpa.gitbook.io/astro-rpa-user-guide/g_elements/el_basic/els_data/els_data_html/el_data_html_toobject.md).

# HTML to object

![](/files/Mg0GHJALmf9gdzkyvEJ8)

Element that converts HTML to an object and searches it. If XPath is specified, the result will be of AngleSharp.Dom.INode type, otherwise it will be of AngleSharp.Html.Parser.IHtmlDocument type.

![](/files/HsHlCTiBPiygTjOGGcr8)

Properties

\- Variable\*: \[AngleSharp.Dom.INode / AngleSharp.Html.Parser.IHtmlDocument] Variable that gets the search result '<https://github.com/AngleSharp/AngleSharp>'

\- Data\*: \[String] HTML String

\- XPath: \[String] XPath expression string '<https://ru.wikipedia.org/wiki/XPath>'
