Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the use of the lt;meta> tag in html

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you what is the use of tags in html, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

What is a meta tag?

In a web page, meta tags are often used as page keywords, page introduction, author, page coding, robots, automatic jump and other statements and description tags.

Web page display character set web page coding

Simplified Chinese:

English:

Traditional Chinese:

English:

2. Information of web page maker

3. Web keyword declaration (SEO place)

4. Description of the web page (search engine optimization place)

5. Prevent others from calling your page in the frame

6. Automatic jump (this tag usage allows a web page to automatically jump from the current page to another page or website after how many seconds)

Content is followed by a value of how long the current page jumps.

URL value is to jump to a specific web site

7. The web page tells the search robot wizard to operate on this page (used to tell the search robot which pages need to be indexed and which pages do not need indexing)

The parameter to content is all,none,index,noindex,follow,nofollow. The default is all. If you do not add this tag to a page, by default content= "all" means to search and include crawling this page and this page pointing to the page.

Search engine: robots value

None

The search engine will ignore this page, which is equivalent to noindex,nofollow.

Noindex

The search engine does not index this page.

Nofollow

Search engines do not continue to search for other pages through the link index of this page.

All

The search engine will index this page and continue to index links through this page, which is equivalent to index,follow.

Index

Search engines index this page.

Follow

The search engine continues to search for other pages through the link index of this page.

Introduction of search and collection methods by search engine-Baidu webmaster tool

Note: according to the W3C standard, you need to end with a slash directly, such as forming a complete link tag.

The above is all the content of this article "what's the use of tags in html?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report