&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; The optimization of page code is a key and important link in the construction of marketing website. The method of code optimization has several aspects:
Adopt Div layout
What are the benefits of adopting a div layout?
1, improve the search engine index efficiency of the Web page
Improve the spider crawl efficiency, in the shortest possible time to crawl through the entire page, so that the quality of the collection has a certain advantage;
Because can be efficient crawling, will be spider like, so the number has a certain advantage.
Avoid the table nesting, search engine spider crawl table layout page, encounter multiple layers of table nesting, will skip nested content or directly discard the entire page, many use the traditional table layout of the site, many pages in the search engine snapshots show incomplete.
2, performance and content phase separation
The design part is stripped out and placed in a separate style file, the HTML file only holds the text information, facilitates the website revision, only needs to the CSS reconstruction then may complete the website the revision need.
3, improve the speed of page loading
Greatly reduce the code of the Web page, save server bandwidth. Increase the speed of the Web page loading, so that users open the page greatly improved, improve the user experience.
Search engines can crawl your site source code to make intimate contact, then, how to better let search engine crawler more accurately aware of your content relevance, enhance the site search optimization? Probably from the most basic
CSS naming rules will have an unexpected harvest, the most basic is the most effective.
CCS naming rules
The following from the angle of the front-end design of the CSS naming rules, very good consideration of the search engine preferences, in the process of page design, as far as you know, search engines also understand.
Header: Header login: Loginbar Logo: Logo sidebar: Sidebar ads: Banner navigation: Nav
Sub-navigation: Subnav Menus: Menu submenu: submenu Search: Searching scrolling: Scroll page body: main
Contents: Content tab page: Tab: List message: Msg tips: Tips column title: Title
Add: Joinus Guide: Guild Services: Hot news: News Download: Download registration: Regsiter Status: Status button: BTN vote: Vote partners: Partner Links: Friendlink footer: Footer
Copyrights: Copyright
Name of 1.CSS ID
Coat: Wrap Main navigation: Mainnav: Subnav footer: Footer Entire page: Content Header: Header footer: Footer Trademark: Label title: Title
Main navigation: Mainnav (GLOBALNAV) Top navigation: Topnav Edge Navigation: Sidebar left navigation: Leftsidebar right Navigation: Rightsidebar flag: Logo slogan: Banner menu content 1: Menu1content Menu Capacity: Menucontainer submenu: Submenu Edge navigation icon: Sidebaricon
Note: bread crumbs: BreadCrumb (that is, the location of the page navigation tips) Containers: Container contents: Content Search: Search Login: Login ribbon: Shop (such as shopping cart, cashier) current
2. In addition, the annotations available when editing a style sheet can be written:<–footer–> content area <–end footer–>
3. style file naming
Main master.css layout, Layout layout.css column columns.css text font.css print style print.css theme Themes.css
such as the adjacent network focus on the enterprise marketing-oriented web site construction, and strive to research and development of marketing-oriented web site system, for the vast number of enterprises to create the most valuable and rewarding network marketing services.
This article is a series of articles as follows: Stay tuned
Marketing-style website Perfect storm-value
The perfect storm of marketing website--Planning
The perfect storm of marketing website--Design article
The perfect storm of marketing website--Website Code
The perfect storm of marketing website--software tool
The perfect storm of marketing website--traffic statistics
The perfect storm of marketing website--instant tool
Marketing-style website Perfect storm--crm
Author: such as neighboring network senior marketing consultant Email:sales@rulin.net msn:ywxchina@hotmail.com
Beijing, such as neighboring Network Technology Co., Ltd.-enterprises around the network marketing experts www.rulin.net