im new in web development and i wanna know, how can make a dynamic file path or dynamic source directory. its like :
<img id="branding-logo" src="/image/logo.png">
<link rel="stylesheet" href="/images/green.css">
<script src="/js/jquery.js"></script>
main {
background: url('/images/CAT119/hp-images/hptilebggreen.jpg') top left repeat-x;
}
so basically what i want to know is how can i do that on my project.. that forward slash on the very begining og the path.