# Is there a way to go from HTML to the Prolog representation of the HTML?

**URL:** https://swi-prolog.discourse.group/t/is-there-a-way-to-go-from-html-to-the-prolog-representation-of-the-html/2901
**Category:** Help!
**Created:** [September 9, 2020, 3:32pm UTC](https://swi-prolog.discourse.group/t/is-there-a-way-to-go-from-html-to-the-prolog-representation-of-the-html/2901 "2020-09-09T15:32:45Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![jan](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/jan/32/4_2.png) [@jan](https://swi-prolog.discourse.group/u/jan)
#### Post date: [September 9, 2020, 3:56pm UTC](https://swi-prolog.discourse.group/t/is-there-a-way-to-go-from-html-to-the-prolog-representation-of-the-html/2901/2 "2020-09-09T15:56:47Z")

</div>

Quasi quotations, e.g.

```
{|html(To)||<div>Say hello <span>To</Span></div>|}

```

This is part of `library(http/html_write)`.

---

_[View the full topic](https://swi-prolog.discourse.group/t/is-there-a-way-to-go-from-html-to-the-prolog-representation-of-the-html/2901)._
