将css与javascript全部用下边的方法分别到外部文件中去。
Use the following method to separate CSS and JavaScript into external files.
让html代码大可能的只是用来显示实际内容。
HTML code is most likely only used to display actual content.
2、采取xhtml代码编写页面,抛弃传统Table布局模式,去掉页面中的例如font/bgcolor等格局化把持标签。用合乎web标准的代码来制造页面。这样可能让xhtml代码结构化、语义化。进步页面代码的可读性。
2. Write the page using xhhtml code, abandoning the traditional Table layout pattern and removing pattern control tags such as font/bgcolor from the page. Use web standard code to create pages. This may make the xhhtml code structured and semantically oriented. Improve the readability of page code.
3、采取了上边的方法你会发明你的html代码会变得十分小,当然假如可能的话。让它变得更小。太大的页面会影响搜查引擎的处理速度。个别通过xhtml+css设计的网页,html代码应当可能把持在50K以内。大家可能去看一下用web标准重构得比较好的网站。
3. By adopting the above method, you will find that your HTML code will become very small, if possible. Make it smaller. A page that is too large can affect the processing speed of the search engine. Some web pages designed through xhtml+CSS may have HTML code under 50K. You may want to take a look at websites that have been well refactored using web standards.
4、用好图片的alt标签,公道的利用页面要害字去描述图片,这样能增加页面的要害字密度。
4. Make good use of alt tags for images and fairly utilize key words on the page to describe the image, which can increase the density of key words on the page.



客服