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