# How to connect node-red template html file with local file css?

**URL:** <https://discourse.nodered.org/t/how-to-connect-node-red-template-html-file-with-local-file-css/93442>\
**Category:** General\
**Tags:** http-request\
**Created:** [25 November 2024 11:30 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-template-html-file-with-local-file-css/93442 "2024-11-25T11:30:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![LoganathanSambath](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/loganathansambath/32/92841_2.png) [@LoganathanSambath](https://discourse.nodered.org/u/LoganathanSambath)\
**Post date:** [25 November 2024 11:30 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-template-html-file-with-local-file-css/93442/1 "2024-11-25T11:30:40Z")

</div>

- This is my flow  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/d/5da64985a710fbc0bcbda18d6dd11c5708e70441.png)
- I have css, js, and images in my local directory, How do I connect with template node html code to local file css,js for serving?  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/9/c9e34dd961ad2f9a7997c2f6ef5390da7b6ffbb4.png)

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [25 November 2024 11:32 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-template-html-file-with-local-file-css/93442/2 "2024-11-25T11:32:24Z")

</div>

@LoganathanSambath this is already being answered in your other thread - [How to Use HTTP-In Nodes in Node-RED to Serve Static HTML Pages Instead of Separate Express Code - #9 by gregorius](https://discourse.nodered.org/t/how-to-use-http-in-nodes-in-node-red-to-serve-static-html-pages-instead-of-separate-express-code/93434/9) - please don't start new topics for the same question.

---

<div class="post-metadata">

**Author:** ![LoganathanSambath](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/loganathansambath/32/92841_2.png) [@LoganathanSambath](https://discourse.nodered.org/u/LoganathanSambath)\
**Post date:** [25 November 2024 11:35 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-template-html-file-with-local-file-css/93442/3 "2024-11-25T11:35:39Z")

</div>

i tried but it did not work

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [25 November 2024 11:37 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-template-html-file-with-local-file-css/93442/4 "2024-11-25T11:37:26Z")

</div>

Then why ask the same question again with no details on what you have tried? I'm going to close this thread. Please post to your existing thread details on exactly what you have tried.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [25 November 2024 11:37 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-template-html-file-with-local-file-css/93442/5 "2024-11-25T11:37:33Z")

</div>


