Some suggestions on HTML5 SEO optimization

Time:2020-10-4

for instance

< title > Taobao - Taobao! I like < / Title >

Use the description and keyword tag (no more than 300 characters is preferred)

< meta name = "description" content = "Taobao - Asia's largest online trading platform, providing all kinds of clothing, beauty, home furnishing, digital, phone / point card recharge Hundreds of millions of high-quality goods, at the same time, it provides security transaction security services such as guarantee transaction (receiving goods before payment), and provides consumer protection services such as return promise and damage replacement, so that you can enjoy the fun of online shopping at ease! " />
<meta name="aplus-xplug" content="NONE">
< meta name = "keyword" content: "Taobao, Taobao, online shopping, C2C, online trading, trading market, online trading, trading market, online buying, online selling, shopping website, group buying, online trading, safe shopping, e-commerce, buy at ease, supply, trading information, online shop, buy it now, auction, online shopping, online shopping, discount, free shop, online shopping, channel, shop" / >

Add ALT and title to the picture

<img src=" https://imgs.developpaper.com/imgs/TB1DP0yAoY1gK0jSZFMXXaWcVXa-1190-70.png "ALT = taoxiaopu" style = " width:1190px;height :70px"/>

Using semantic tags

<h1>Headline</h1>
<h2>Headline</h2>
< article > Article

Using the open graph tag

The (OG) tag is an additional meta tag in the HTML part of a page, which allows any web page to become a rich object in a social network. It was first launched by Facebook in 2010 and recognized by other major social media platforms (LinkedIn, Google +, etc.).

In HTML, it might look like this:


<meta name="og:title" property="og:title" content="Your Awesome Open Graph Title">

By setting open graph, you can better improve the web performance of social media, and use it gracefully to convert this attribute into the number of hits

Use the nofollow attribute

What is nofollow?

Nofollow is the attribute value of a tag in HTML page. The meaning of this tag is to tell search engines “do not track links on this page or do not track this particular link.”.

The role of nofollow?

  1. To prevent untrustworthy content, the most common is spam messages and comments on blogs in order to get junk links outside the chain, in order to prevent pages from pointing to some garbage pages and sites.
  2. To prevent paid links from affecting Google’s search results ranking.
  3. Guide the crawler to grab effective pages, avoid crawling some meaningless pages and affect the efficiency of crawler crawling.
     

Basic usage of nofollow
 

For < meta > tags
 

Tell search engines (crawlers) that all links on the page do not need to be tracked (this method is usually used less often)


<meta name="robots" content="nofollow" />

For < a > tags

Tells search engines (crawlers) that links with this property do not need to be tracked

(this method is generally recommended)


<a href="javascript:" class="back" rel="nofollow"></a>

The above is the detailed content of some suggestions of HTML5 SEO optimization. For more information about HTML5 SEO optimization, please pay attention to other related articles in developeppaer!

Recommended Today

Comparison and analysis of Py = > redis and python operation redis syntax

preface R: For redis cli P: Redis for Python get ready pip install redis pool = redis.ConnectionPool(host=’39.107.86.223′, port=6379, db=1) redis = redis.Redis(connection_pool=pool) Redis. All commands I have omitted all the following commands. If there are conflicts with Python built-in functions, I will add redis Global command Dbsize (number of returned keys) R: dbsize P: print(redis.dbsize()) […]