1. Each directory should include a default HTML file, file name unified use of index.htm
2. Part name unified use of lowercase English letters, numbers and underscores.
3. The guiding ideology of naming principles is that every member of your own and working group can easily understand the meaning of each file. Second, when we use the "Decoction Orders" in the folder, the same Classical files can be arranged together so that we can find, modify, replace, compute loads, and the like.
4. In the following section, "News" (including "Domestic News" and "International News") describes the naming principle of the HTML file:
☆ Open news directory in the root directory
☆ First default news name index.htm
☆ All news belonging to "Domestic News" is named: China_1.htm, China_2.htm, ...
☆ All news belonging to "International News" is named: International_1.htm, International_2.htm, ...
☆ If the number of files is two digits, name the first nine files: china_01.htm, China_02.htm to ensure that all files can be properly sorted in the folder.
5. The naming principle of the picture follows the following specifications:
☆ The name is divided into two or two parts of the head, separated by underline.
☆ The header represents the large-class properties of this picture, such as advertisements, signs, menus, buttons, and more.
☆ General:
Place the advertisement on the top of the page, the decorative pattern, etc. We are named: banner iconic picture We named: logo is not fixed on the page and the small picture with links We have named button on the page. One location continuous appearance, the same link section of the same link, we name: Menu Decorated Photo We name: PIC without links to indicate the title of the title Title We name: Title is in accordance with this principle.
☆ The tail portion is used to represent the specific meaning of the picture.
☆ The following is a few samples, everyone should be able to understand the meaning of the picture: banner_sohu.gif banner_sina.gif menu_aboutus.gif menu_job.gif title_news.gif logo_police.gif logo_national.gif pic_people.jpg pic_hill.jpg.
Website directory setting specification
Principles of catalog: Provide the clearest and easy access to the minimum level.
Root directory. The root directory refers to the storage directory of the index file pointing to the DNS domain name server. The server's FTP upload directory defaults to the HTML root directory file root directory only allows the index.html and main.html files, as well as other must-have system files. Each language version is stored in an independent directory. Existing Version Language Set to: Simplified Chinese / GB Traditional Chinese / BIG5 English / EN Situation / JP
Each main function (main menu) establishes a corresponding independent directory.
Image of the root directory is stored in the public picture directory, and private pictures in each directory are stored in their respective independent images directory. For example: / menu1 / images / menu2 / images
All js files are stored in the root directory / script All CSS files Style STYLE directory in the root directory All CGI programs are placed in the root of the root directory / cgi_bin directory The Head area refers to the
of the home page HTML code The content between head>. Must join the label1. Company copyright notice
2. Web Display Character Set Simplified Chinese: Traditional Chinese: English: 3. Web Page Maker Information
4. Website introduction
5. Search keyword
6. CSS specification for web pages (see Directory and Naming Specifications)
7. Web Title
Can choose to join the label
1. Set the expiration time of the web page. Once the web page expires, you must re-access on the server.
2. Prohibit the browser from calling the page content from the cache of the local machine.
3. Used to prevent others from calling your page in the frame.
4. Automatically jump. 5 refers to time stays for 5 seconds.
5. Web Search Robot Wizard. Used to tell the search robot which pages require an index, which pages do not need indexes. Content Parameters include All, None, INDEX, NOINDEX, FOLLOW, NOFOLLOW. The default is all.
6. Favorites icon