# Expected HTML Output

The Expected Output value is the HTML that you expect the page to output. This is empty by default.&#x20;

![](/files/-LovPC-WmnJdFkRTSv_j)

![](/files/-LovO4CMo0nzb4Pkki3n)

This is available so you can compare the current output with the previous output. It's typically used for unit tests and a way for you to show changes between versions from Web Export.&#x20;

It basically creates diff patches that are viewable as a web page. If you use version control, it is like that but it allows you to see changes from your XD project.&#x20;

&#x20;

![](/files/-LpA5RtK5dw1ATTbwH3c)

{% hint style="info" %}
When you use this and there are a lot of changes it can take time to process all of the differences. It may look like the export process has stopped responding. Nay. It is simply comparing differences. It can take up to a minute.&#x20;
{% endhint %}

If the HTML is different than the expected output a diff button will show. Click on this button to see the HTML of all the code differences. Use the Enter key to go through each change.&#x20;

If there are no changes then a checkmark icon will be shown.&#x20;

To use this copy the page HTML and paste it into this field. The next time you press export a comparison will be made.&#x20;

There are related Expect Output fields for HTML, CSS and JavaScript.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://velara-3.gitbook.io/web-export/export-artboard-dialog/expected-html-output.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
