search
HomeWeb Front-endHTML TutorialHTML网页META标签内容写作规范要点_HTML/Xhtml_网页制作

HTML网页META标签内容写作规范要点_HTML/Xhtml_网页制作

May 16, 2016 pm 04:45 PM
qqKey wordscontentwritingLabelwebsiteWeb pageMain pointsspecification


META标签是HTML语言head区的一个辅助性标签,它用来描述一个HTML网页文档的属性,例如作者、日期和时间、网页描述、关键词、页面刷新等。它有两个属性,分别是HTTP标题信息(HTTP-EQUIV)和页面描述信息(NAME)。不同的属性又有不同的参数值,这些不同的参数值就实现了不同的网页功能。
我们在对网站进行搜索引擎优化(SEO)的时候,通常会用到name属性里的“Keywords”(关键词)和“description”(网页描述)两个参数。在主流的两个搜索引擎“百度”和“GOOGLE”中进行了长时间测试,发现百度搜索结果的排名和META标签中的内容有很大关系,在GOOGLE中也存在有一定的决定性作用,META标签在一个页面中的作用仅次于title。所以META标签的内容设计仍然是很重要的。
下面来和大家共同探讨META标签中keywords和description的基本写法,和应该注意的事项:
一、Keywords (关键字)
说明:为搜索引擎提供的关键字列表
用法:
技巧:1,选择适当的关键词(可利用百度指数等工具,选出搜索量比较高的关键词,必要时可以选择复合关键词)
2,不同的关键词之间,应用半角逗号隔开(关键词之间应以半角逗号(即英文状态下的逗号)隔开,如果以中文为标点,搜索引擎会误认为是文字)
3,关键词不要写得太多太长(建议控制在六个词语以内,简短、明确就好,别太多或故意重复)
4,大网站尽量不要每个页面都要用同样的Keywords
二、Description (网页描述)
说明:Description用来告诉搜索引擎你的网站主要内容。用法:
技巧:1,应为自然语言,并不是罗列关键词(也就是说是几句比较简炼的描述网页标题和内容的话,并不是像Keywords那样把关键词罗列出来。)
2,描述内容与网页标题和Keywords关键词内容应有高度相关性(重点补充在title和keywords中未能充分表述的说明)
3,描述内容与网页本身内容应有高度相关性
4,描述的文字不必太多(建议控制在200个字符以内,关键字重复出现三四次即可,不要过多堆积)
5,不要每个页面都要用同样的Description
以上写法只是一般规律,在实际运用中应随着搜索引擎检索规则的变化和网站的本身情况进行适当调整.META优化只是SEO的一部分,并不能完全代表SEO.要想把网站的优化做好,还需要从多方面下功夫.我们会在后续的几期里为大家继续探讨网站优化。
Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
HTML, CSS, and JavaScript: Examples and Practical ApplicationsHTML, CSS, and JavaScript: Examples and Practical ApplicationsMay 09, 2025 am 12:01 AM

The roles of HTML, CSS and JavaScript in web development are: 1. HTML is used to build web page structure; 2. CSS is used to beautify the appearance of web pages; 3. JavaScript is used to achieve dynamic interaction. Through tags, styles and scripts, these three together build the core functions of modern web pages.

How do you set the lang attribute on the  tag? Why is this important?How do you set the lang attribute on the tag? Why is this important?May 08, 2025 am 12:03 AM

Setting the lang attributes of a tag is a key step in optimizing web accessibility and SEO. 1) Set the lang attribute in the tag, such as. 2) In multilingual content, set lang attributes for different language parts, such as. 3) Use language codes that comply with ISO639-1 standards, such as "en", "fr", "zh", etc. Correctly setting the lang attribute can improve the accessibility of web pages and search engine rankings.

What is the purpose of HTML attributes?What is the purpose of HTML attributes?May 07, 2025 am 12:01 AM

HTMLattributesareessentialforenhancingwebelements'functionalityandappearance.Theyaddinformationtodefinebehavior,appearance,andinteraction,makingwebsitesinteractive,responsive,andvisuallyappealing.Attributeslikesrc,href,class,type,anddisabledtransform

How do you create a list in HTML?How do you create a list in HTML?May 06, 2025 am 12:01 AM

TocreatealistinHTML,useforunorderedlistsandfororderedlists:1)Forunorderedlists,wrapitemsinanduseforeachitem,renderingasabulletedlist.2)Fororderedlists,useandfornumberedlists,customizablewiththetypeattributefordifferentnumberingstyles.

HTML in Action: Examples of Website StructureHTML in Action: Examples of Website StructureMay 05, 2025 am 12:03 AM

HTML is used to build websites with clear structure. 1) Use tags such as, and define the website structure. 2) Examples show the structure of blogs and e-commerce websites. 3) Avoid common mistakes such as incorrect label nesting. 4) Optimize performance by reducing HTTP requests and using semantic tags.

How do you insert an image into an HTML page?How do you insert an image into an HTML page?May 04, 2025 am 12:02 AM

ToinsertanimageintoanHTMLpage,usethetagwithsrcandaltattributes.1)UsealttextforaccessibilityandSEO.2)Implementsrcsetforresponsiveimages.3)Applylazyloadingwithloading="lazy"tooptimizeperformance.4)OptimizeimagesusingtoolslikeImageOptimtoreduc

HTML's Purpose: Enabling Web Browsers to Display ContentHTML's Purpose: Enabling Web Browsers to Display ContentMay 03, 2025 am 12:03 AM

The core purpose of HTML is to enable the browser to understand and display web content. 1. HTML defines the web page structure and content through tags, such as, to, etc. 2. HTML5 enhances multimedia support and introduces and tags. 3.HTML provides form elements to support user interaction. 4. Optimizing HTML code can improve web page performance, such as reducing HTTP requests and compressing HTML.

Why are HTML tags important for web development?Why are HTML tags important for web development?May 02, 2025 am 12:03 AM

HTMLtagsareessentialforwebdevelopmentastheystructureandenhancewebpages.1)Theydefinelayout,semantics,andinteractivity.2)SemantictagsimproveaccessibilityandSEO.3)Properuseoftagscanoptimizeperformanceandensurecross-browsercompatibility.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.