1. Separate all css and javascript into external files using the following method.
<link rel="stylesheet" type="text/css" href=" http://www . /css/style.css" mce_href=" http://www . /css/style.css" media="all "/>
<script type="text/javascript" src=" http://www . /include/common.js" mce_src=" http://www . /include/common.js"></script>
The most likely thing to make the html code use is to display the actual content.
2. Use xhtml code to write pages, abandon the traditional Table layout mode, and remove formatted control tags such as font/bgcolor in the page. Use web-compliant code to create a page. This will enable the xhtml code to be structured and semantic. Improve the readability of page code.
3. If you use the above method, you will find that your html code will become very small, of course if you can. Make it smaller. Too large pages can affect the processing speed of search engines. Generally, for web pages designed through xhtml+css, the html code should be controlled within 50K. You can go and see a website that is better refactored using web standards.
4. Use the alt tag of the picture well and use the page keywords reasonably to describe the picture, which can increase the keyword density of the page.
5. Use javascript as little as possible to do content-related things, such as using document.write to display the body. This will affect search engines' search for page content.
6. Never go to javascript to implement navigation of your website. That will make search engines disorientated.
7. The keywords of each page should appear as much as possible in the page title, that is, the Title tag at the head. Of course, it takes too long to apply it properly, and not to use a large number of popular online keywords that are not related to the content of the page. Because that's not optimizing but cheating.
8. Try to use the tags such as <h1> <h2> in each page code reasonably and let your keywords appear in the tags <h1> to make the document structure of the page clearer.
I am a web production, so I don’t know much about SEO’s many professional techniques and algorithms. If you want to know more about this method, it is recommended that you visit some well-known SEO optimization websites in China, such as Dianshi Interactive. There you can check out a lot of professional knowledge about "backlinks", "page PR values", etc. Here I will just discuss some of the details I have involved in the page production process and discuss them with you. This can also explain why websites designed based on web standards are more conducive to SEO.
If you don't plan to spend money to hire a professional SEOer to optimize your website, you can ask the page makers to pay attention to some details in the production. I believe that some free details can achieve a better effect.