# Can I split my html file into multiple html files?

**URL:** <https://forums.creativeclouddeveloper.com/t/can-i-split-my-html-file-into-multiple-html-files/5859>\
**Category:** UXP Plugin API\
**Created:** [February 15, 2023, 11:26pm UTC](https://forums.creativeclouddeveloper.com/t/can-i-split-my-html-file-into-multiple-html-files/5859 "2023-02-15T23:26:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Timothy\_Bennett](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/timothy_bennett/32/1251_2.png) [@Timothy\_Bennett](https://forums.creativeclouddeveloper.com/u/Timothy_Bennett)\
**Post date:** [February 15, 2023, 11:57pm UTC](https://forums.creativeclouddeveloper.com/t/can-i-split-my-html-file-into-multiple-html-files/5859/2 "2023-02-15T23:57:50Z")

</div>

Here you go - ignore the mention of WebViews

> [@UXP WebView support for loading local html content](http://forums.creativeclouddeveloper.com/t/uxp-webview-support-for-loading-local-html-content/5642/13):
>
> I load all my plugin HTML this way except for a basic layout that houses the loaded content. const path = \<path to an html file\>; const content = await fetch(path).text(); const container = document.querySelector("#\<id of element in main html file in which to insert content\>"); container.innerHTML = content;

---

_[View the full topic](https://forums.creativeclouddeveloper.com/t/can-i-split-my-html-file-into-multiple-html-files/5859)._
