Front-end development and SEO Basics

Source: Internet
Author: User

Web page code optimization


1:<title> title: Emphasis, key keywords in front, each page title as far as possible not the same

2:<meta keywords> Keyword: List A few important keywords, do not repeat the piling

3:<meta description> page Description: Highly summarize the content of the Web page, not too long, do not stack keywords, each page as far as possible different

                                             Using semantic tags

1:h1-h6 tags more for headings

2:ul Tags for unordered lists

3:ol tags for ordered lists

4:DL tags are used for data lists

5:em,strong used to express emphasis

Commonly used tags are friendly to SEO

1:<a> Tags: plus title description

2:

3:<br>: Tags: package between <p> tags

4: Tags: add alt and title instructions, define the width and height of the img

5:<em><strong> emphasize tags: use when emphasizing text content

Note details: 1): Important content HTML code first (the spider is read in sequence)

2): Important content do not use JS output (the spider does not read the contents of JS)

3): Try not to use the IFRAME framework (the spider does not read the contents of the Diframe)

4): Use Display:none carefully (the spider does not read the contents of the Display:none)

5): Continue to reduce content (spider likes to be concise)

      

Front-end development and SEO Basics

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.