"Div Introductory tutorial" xhtml+css and SEO

Source: Internet
Author: User
Keywords Web page production CSS Tutorials
Tags code content html it is keywords search search engine seo

Xhtml+css and SEO content, the following chapters will be introduced in detail, here to say some, so that we have a certain understanding of xhtml+css and SEO, for the next production page laying the groundwork, after all, we do out of the page or to the search engine to see, so we can not but mention xhtml+ CSS and SEO relationship.

1 The most important content in the page with H1 tag, H1 content and page title very natural contains the site or the core keywords of the page, search engine attaches great importance to H1 tag content yo

2 reasonable use of H2, H3 and other title tags, they for the page is the article different grades or different functional areas of the symbolic elements

3 page meta information can not be ignored, be sure to include the content of the core page

4 in order to facilitate the search engine easier to crawl, to the extent possible to ensure that the HTML page code pure, stressed that, since it is xhtml+css layout page, so the CSS code to write in a separate file, to ensure that the CSS part and HTML part of the complete separation HTML page using ID and class, as much as possible to avoid style= ""; try to use the standard CSS naming conventions, from here you can see that your page refactoring professional yo; try to use CSS abbreviations to save code, such as padding:10px 20px 10px 20px; abbreviated to padding:10px 20px; it is best not to use font and center tags on HTML pages.

5 in the HTML page fervent tag is available, you can further enhance the keyword and corresponding text information.

6 The JavaScript code on the page will interfere with the Search engine Analysis page content, and can encapsulate the JavaScript code in a. js file for external invocation.

7) <img/> As much as possible to add Alt annotation, because Baidu and Google have search picture function, if added ALT, more convenient search spiders crawling, search the corresponding keywords, you may appear on the site of the picture, click on the picture does not enter your site well, Just a little bit more traffic.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.