Meta tags are hidden html tags of an html document that are not displayed in a browser but provide a browser or search engine robot with useful information.
Using Meta Tags?
Meta tags are html tags that are included in the
tag along with the </b></span> tag. A meta tag is formatted in the following way,</p>
<p><span style="font-family: Arial; font-size: x-small;" mce_style="font-family: Arial; font-size: x-small;"><meta <span style="color: #0000ff;" mce_style="color: #0000ff;">type</span>="<span style="color: #339900;" mce_style="color: #339900;">name</span>" content="<span style="color: #ff0000;" mce_style="color: #ff0000;">value</span>"></span></p>
<p>The colored parts of the meta tag shown above will change depending on what type of meta tag you are writing. Meta tags used by search engines have the <span style="color: #0000ff; font-family: Arial; font-size: x-small;" mce_style="color: #0000ff; font-family: Arial; font-size: x-small;">type</span> value of <span style="color: #0000ff; font-family: Arial; font-size: x-small;" mce_style="color: #0000ff; font-family: Arial; font-size: x-small;"><b>name</b></span> and meta tags used by browsers have the <span style="color: #0000ff; font-family: Arial; font-size: x-small;" mce_style="color: #0000ff; font-family: Arial; font-size: x-small;">type</span> value of <b><span style="color: #0000ff; font-family: Arial; font-size: x-small;" mce_style="color: #0000ff; font-family: Arial; font-size: x-small;">http-equiv</span></b>. The example below deminstrates where a meta tag is placed in an html document.</p>
<table border="0" cellspacing="0" cellpadding="0" width="90%" align="center">
<tbody>
<tr>
<td>
<p><span style="font-family: Arial; font-size: x-small;" mce_style="font-family: Arial; font-size: x-small;"><html><br /> <head><br /> <title>Meta Tags Are Us
Search Engine Meta Tags
In the early days of the internet, search engines use to visit web sites and extract the
tag as the title of a web page along with the first 200 characters as the description of the webpage. The problem which occurred was that the first 200 characters of a webpage didn't really describe the page correctly and most of the descriptions found in the search engines were very hard to read or understand. To solve this problem search engines defined a series of meta tags that they would index and use when they crawled websites.
The meta tags defined by search engines that would be used when searching through the search engine's index (database) are the meta-description and meta keywords. The meta description tag allows webmasters to describe the web page in their own words and this description will be displayed underneath the webpage's title in the search engine listings. The meta keywords tag allows webmasters to include key-words and key-phrases (two or more keywords) that describe the content of the webpage as a meta tag indexed by the search engine. Below is an example of the meta-description
and meta-keywords
found in this html document.
Search engines have also defined another meta tag known as the meta robots that will allow website developers to decide whether they want the webpage to be indexed, archived, or crawled. The meta robots tag looks similar to the below,
value
">
The value of value
will vary depending on what a webmaster wishes the crawler to do. If a webmaster doesnt want the webpage to be indexed, then value
would be noindex
. If the webpage is not to placed in the search engines cache, then value
would be noarchive
. If the links on the page are not to be crawled by the search engine, then value
would be nofollow
. To use two or more of these values, each value would be separted by a comma (ex. noarchive, nofollow
).
To assist in the addition and modification of meta description and meta keywords, I have developed a Windows program to insert and replace meta tags in html files. This program can be found here
.
Browser Meta Tags
Meta tags used by the browser define particular things about the document, like what character set to use when displaying the characters on the page, or what language the html document is written it, or how many long should be waited before refreshing the page or redirecting to another webpage. Below are examples of these different meta tags.
Setting the page's language
Setting the page's character set
Meta Refresh - Refreshing the page after 10 seconds
Meta Redirect - Redirecting the page to hotmail.com after 10 seconds
Meta Cache - Instruct the browser not to cache the page
|
There are other browser related meta tags, but the main ones have been included above.
Search Engine Placement & Ranking
Meta tags are a useful tool for webmaster who wish to customize their web page listing in the search engines. Meta tags also help improve the placement or ranking of a website in search engines. It should be noted that not all search engines use meta tags, some old search engines still haven't taken the step forward to include this wonderful feature to their search engines (ex. Lycos.com).
HTML Title Tag
Though the
tag isn't a meta tag, it is normally associated with the meta-description and meta-keywords because search engines display it on search result pages as the title of a webpage. The meta-description tag is normally displayed below the title tag in search engine results and an example is shown below.
Webmaster Resources - The Emirates Network
Good collection free webmaster resources, tools, and articles for webmasters to assist them to improve and promote their website...
http://www.theemiratesnetwork.com/computers/webmaster/
本文是使用 B3log Solo
从 ☆繠蝶冰緣☆
进行同步发布的。
分享到:
相关推荐
元学习(Meta-Learning)是机器学习领域的一个重要分支,特别是在深度学习和人工智能研究中占据着核心地位。元学习的主要目标是使机器学习系统能够快速适应新的任务或环境,即使在数据量有限的情况下也能实现高效的...
What Are RESTful Web Services? 219 Creating a RESTful Root Resource Class 220 Example Applications for JAX-RS 235 Further Information about JAX-RS 240 Part IV: Enterprise Beans 243 Chapter 14:...
这个“HTML-Tutorial.rar_html中tutorial”压缩包提供了一个HTML教程,旨在帮助初学者深入理解HTML的各个标签及其用法。HTML教程%28完整版%29.pdf作为其中的文件,很可能是这个教程的完整文本形式。 HTML的基本结构...
If you are a beginning user of ANSYS Fluent you should first read and solve Tutorial 1, in order to fa- miliarize yourself with the interface and with basic setup and solution procedures.You may then ...
What are the key questions to ask? 2、Specifically, we will discuss What are the key metrics that should be measured and compared? What are the challenges towards achieving these metrics? ...
12. **响应式设计**:通过`<meta name="viewport">`标签和CSS媒体查询,HTML5支持不同设备和屏幕尺寸的适应性布局。 13. **表单元素**:`<form>`、`<input>`、`<textarea>`、`<select>`和`<button>`用于创建用户...
Step by Step COM Tutorial
Tutorial Master是一个编辑器扩展,允许您创建您的游戏互动教程惊人的快速和容易! Tutorial Master2 已经建立了从地面到成为最好的教程制作解决方案之一!教导新玩家(以及潜在用户)如何以你所希望的方式玩游戏! 用户...
tutorial代码
Knowledge, Metaknowledge, Meta-metaknowledge A More Complete Toaster Step 1: What are the Components of the Mechanism? Step 2: Identify Which Components Represent Subcomponents of the ...
Sun权威教程--《J2EE Tutorial中文版》 作者:Stephanie Bodoff,Dale Green,Kim Haase,Eric Jendrock,Monica Pawlan,Beth Stearns 翻译参与人员:sharetop,worldheart,zhaoy,bruce等 出版商:铁道出版社...
java tutorialjava tutorial.chm
HTML由一系列的元素组成,每个元素都有其特定的标记(tag),这些标记决定了元素在页面上的表现形式和功能。例如,`<html>`是文档的根元素,`<head>`包含元数据如标题,而`<body>`则容纳网页的可见内容。文本内容...
BPMN 2.0 Tutorial What is BPMN? Why BPMN? BPMN Process Diagrams BPMN Process Modeling Examples
标题“MathJax basic tutorial and quick reference - Mathematics Meta Stack Exchange”表明该文档是一份针对MathJax的初学者教程,并提供了快速查阅的参考资料。MathJax是一个JavaScript库,它允许在网页中显示...
operating_system_tutorial.pdf operating_system_tutorial.pdf operating_system_tutorial.pdf operating_system_tutorial.pdf operating_system_tutorial.pdf operating_system_tutorial.pdf operating_system_...
XML Tutorial Schema Tutorial DTD Tutorial DOM Tutorial CSS2 Tutorial
Tutorial ENGLISH