/ - site root folder /images/ - for all images (in case there are many images with specific type you can nest them in separate folder, for example /images/buttons/) /css/ - for all CSS files /js/ - for all JavaScript files /flash/ - for all SWF files /docs/ - for all .pdf or .doc files /admin/ - for the admin area /prototype/ - for a prototype of a system
header.html navigation.html header_menu.html footer.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
Example:
<div class="footer"></div>
Example:
<table cellpadding="0" cellspacing="0" border="0"> <tr> <td></td> </tr> </table>
Please follow the standards above. Consider these reasons:
If you find that you are wondering how to write a certain piece of code, and the correct style is not described here, or is not clear, please contact the author/maintainer so that the needed amendment can be made.
And the final point is that the standard is not written in stone. If in a certain situation it makes all the sense in the world not to follow the standard, then do what is best for the project.