My Java application generates several HTML pages, organized in different directories:
html_pages/
|
----> landin_page.html
html_pages/details
|
----> index1.html
html_pages/more_details
|
----> index2.html
html_pages/css
|
----> master_page.css
I am trying to link the master_page.css file in the header of all HTML pages.
What is the best way to reference it?
I initially attempted to use an absolute path, but it resulted in a 404 error.
<link rel="stylesheet" href="/html_pages/css/master_page.css">