It all depends on where the files are on the local disk (which unfortunately you fail to mention in your question).
If you have the files on disk like this:
c:\
inetpub
wwwroot
mywebsite
index.html
style.css
script.js
And you have created a web site with its root at c:\inetpub\wwwroot\mywebste
, then you can refer to style.css
and script.js
from within index.html
as
<link href="style.css" rel="stylesheet" type="text/css" />
<script src="script.js" type="text/javascript"></script>
If however you created a web site with its root at c:\inetpub\wwwroot
, you'd refer to the same files as:
<link href="mywebsite/style.css" rel="stylesheet" type="text/css" />
<script src="mywebsite/script.js" type="text/javascript"></script>
Either way, you will have to ensure that the files are placed onto the web server. You can either do that through Tridion or by placing them there manually.
If you want to publish the CSS and JavaScript files from Tridion, I suggest reading this question: How to add external JavaScript or CSS files to our Tridion page?