You do not have to use a local testing server but the page may not load correctly in the browser if you don't.
If you use a server you can enter the name in the server fieldand a server button will appear after export.
It will create a link that you can click as a shortcut to open the exported page. The URL it creates is simply the Server field value and the name of the page.
For example, if you put a server as, "http://127.0.0.1/'" and the page name is "myPage.html" the link will be "http://127.0.0.1/myPage.html". Be sure verify the server is running using the Check Server button and you may need to put the end slash "/" at the end.
When you click on it it will open your default browser. You can verify the Server by pressing the server button.
The url button opens up the HTML page in the browser using a file protocol:
Due to limitations on Windows an alternative remote link is created.
Due to recent changes the URL opens to the alternative remote link
The url button on Windows opens up a remote page that has a button to copy the link to the page.
Click the "clipboard" text button to copy the file reference to the clipboard and then paste it into the url bar and hit enter. It will load the page using the file:// protocol.
Copies the url to the clipboard
The Copy URL button also appears after export. Use this button to copy the url to the clipboard. Then open your browser and paste the url into the location bar and hit enter.
Using any of the methods above you will be able to view your page in the browser:
Page in the browser
Some features in Adobe XD do not translate completely to web.
Some of these issues you can disregard.Some need to be addressed.
The export Messages will attempt to notify you of potential issues and we will address these issues in the next section.
Testing in the Browser
I recommend using Firefox for testing pages from the file protocol (file://) or Brave for testing from localhost (http://localhost/ or http://188.8.131.52/).
You can create web pages and test them without a server but eventually you may want use something like XAMPP to install a web server locally.