网页设计制作规范 基本要求: 1.在网站根目录中开设imagescommontemp三个子目录,然后根据需要再开设media子目录,images目录中放不同栏目的页面时都要用到的公共图片,例如公司的标志、banner条、菜单、按钮等等;common子目录中放css、js,、PHP、include等公共文件;temp子目录放客户提供的各种文字图片等等原始资料;media子目录中放flash,avi,quicktime等多媒体文件。 2.在根目录中原则上应该按照首页的栏目结构,给每一个栏目开设一个目录,根据需要在每一个栏目的目录中开设一个images和media的 子目录用以放置此栏目专有的图片和多媒体文件,如果这个栏目的内容特别多,又分出很多下级栏目,可以相应的再开设其他目录。 3.temp目录中的文件往往会比较多,建议以时间为名称开设目录,将客户陆续提供的资料归类整理。 4.除非有特殊情况,目录、文件的名称全部用小写英文字母、数字、下划线的组合,其中不 得包含汉字、空格和特殊字符;目录的命名请尽量以英文为指导,不到万不得已不要以拼音作为目录名称,经验证明,用拼音命名的目录往往连一个月后的自己都看不懂。
Web design standards 1. Website in the root directory created images common temp three subdirectories, according to media need to create a subdirectory, put different images in the directory pages to use columns of the public picture, such as the company's logo, banner, menu, buttons, etc.; common subdirectory in the release css, js, PHP, and other public documents include; temp subdirectory release provided by the text, picture, and so on the original information in the media release flash subdirectory, avi, quick time multimedia documents. 2. In the root directory should, in principle, in accordance with the Home column structure, and a column to each create a directory, according to the need of each of the columns in the creation of a directory of media images and subdirectories to put this column proprietary picture and multimedia files, if the content of this column in particular, and to tell a lot of the lower sections, corresponding to the re-creation of other directory. 3. Temp files in the directory more often, the proposed name for the creation of a directory of the time, customers will have to provide the information sorted. 4. Unless there are exceptional circumstances, directory, file with the names of all the lowercase letters, numbers, underscores the portfolio, which shall not contain Chinese characters, spaces and special characters; directory name if possible in English as a guide, not as a last resort Do not use Pinyin as a directory name, experience has shown that directory with the name of Pinyin often even a month after themselves fail to understand it,
全文 6000字 |