Div + CSS basic Tutorial: XHTML + CSS and Seo

Source: Internet
Author: User

The content of XHTML + CSS and Seo will be introduced in detail in later sections. Here we will talk about some of them first, so that you can have a certain understanding of XHTML + CSS and Seo and lay the foundation for the subsequent page creation, after all, the pages we make are still available to search engines, so we can't help but mention the relationship between XHTML + CSS and SEO.

1) enclose the most important content on the page with the H1 tag. The content of H1 naturally includes the core Keywords of the site or page with the page title, the search engine attaches great importance to the content of the H1 tag.

2) use H2, H3, and other title tags properly. They areArticleIconic elements of different levels or different functional areas

3) The page meta information must contain the core content of the page.

4) to make it easier for search engines to capture HTML pagesCodePure, it should be emphasized that since the page is in XHTML + CSS layout, the CSS code should be written in a file separately to ensure that the CSS part and the HTML part are completely separated; the ID and class are used in the HTML page, try to avoid style = ""; try to use standard CSS naming rules. here we can see whether your page reconfigurator is professional or not; try to use CSS abbreviations to save code, for example, padding: 10px
20px 10px 20px; Abbreviation: padding: 10px 20px; it is best not to use the font, center tag on HTML pages.

5) in the HTML page, the strong tag can be used to further strengthen keywords and corresponding text information.

6) The JavaScript code on the page will interfere with the Analysis page content of the search engine. You can encapsulate the JavaScript code for external calls in A. js file.

7) Add alt annotations as much as possible, because Baidu and Google both have the image search function. If ALT is added, it is easier to search for crawlers and search for corresponding keywords, you may see images on your website. If you click images, you will not be able to access your website. In this case, there will be more traffic.

From: CSS Learning Forum

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.