Contents |
This page aims at explaining how the files of a website are structured. First you need to understand which type of files (HTML, CSS, Javascript) are involved as explained on the Website basics page. On that page it's stated that the source files of a website are interlinked. This page will show how this linking in done, how to address files and what you can do with this knowledge.
It is important to understand why the code of your website is or should be separated into different files based on its function. By splitting the code up: content in HTML files, styles defining the appearance in CSS files and possible code for interaction in Javascript files, you gain a lot of freedom in re-using and mixing them.
...