Home Web Front-end HTML Tutorial html Meta tag small set_HTML/Xhtml_web page production

html Meta tag small set_HTML/Xhtml_web page production

May 16, 2016 pm 04:41 PM
html meta tag

... represents the file header of , which is used to describe the file name and related information about the file itself. Usually this part of the tag declares this web page: default language encoding, keywords, software used, etc.

The Meta tag can be divided into two parts, HTTP header information (HTTP-EQUIV) and page description information (NAME). The following table describes the HTTP header information.

Table 1 HTTP header information (HTTP-EQUIV) table

content-type 显示字符集
refresh 让页面指定时间刷新自己,或者跳转
expires 指定网页缓存的过期时间
cach 是否允许浏览器从本地机器调阅缓存
set-cookie 是否禁用cookie或者使cookie失效
window-target 强制页面的显示方式 强制页面在当前窗口中以独立页面显示,也可以用来防止别人在框架里调用该页面。其中content的选项为_blank,_top,_self,_parent。
page-enter,page-exit 页面的进入与退出的特效设置 这实际上是利用到了CSS滤镜。

Meta’s page description information (NAME) is used to illustrate and describe the web page. Name describes the web page and corresponds to the content, so that search robots can find and classify it. The value of name (name="") specifies the type of information provided, some of which are

Values ​​are already defined, such as description, keyword, refresh, etc. You can also specify other arbitrary values, such as creationdate, documentID, Level, etc. The following table is the specific syntax:

Table 2 HTTP description information table

keywords 声明网页的关键字,又搜索引擎自动完成关键字索引。
Description 描述网站的主要内容,搜索殷勤也会通过这个属性来检索这个网站,但是不显示出来。
Robots 机器人向导,用来告诉机器人那些页面需要索引,那些不需要索引。
all:文件将被索引。None文件不被索引,且页面上的链接不可以被查询。(和"NoIndex,NoFollow"起相同作用).Index:文件将被检索。Follow:页面上的链接可以被查询。
Author 页面作者
Copyright 用于标注版权
Generator 编辑器  
revisit-after 设定重新访问的时间间隔,以天为单位。(我还不是很清楚该标签作用)
     

Meta also has some other tags, which are also organized in a unified manner, see the table below:

Table 3 Meta other tag table

scheme 说明内容的一个含义标签
link 链接到某个文件 放入收藏夹中后显示的小图标,地址栏上的小图标
base 基链接 使用该语句后,网页上所有相对路径在链接时都会自动加上前面的地址。
Statement of this Website
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

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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Table Border in HTML Table Border in HTML Sep 04, 2024 pm 04:49 PM

Guide to Table Border in HTML. Here we discuss multiple ways for defining table-border with examples of the Table Border in HTML.

HTML margin-left HTML margin-left Sep 04, 2024 pm 04:48 PM

Guide to HTML margin-left. Here we discuss a brief overview on HTML margin-left and its Examples along with its Code Implementation.

Nested Table in HTML Nested Table in HTML Sep 04, 2024 pm 04:49 PM

This is a guide to Nested Table in HTML. Here we discuss how to create a table within the table along with the respective examples.

HTML Table Layout HTML Table Layout Sep 04, 2024 pm 04:54 PM

Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.

HTML Input Placeholder HTML Input Placeholder Sep 04, 2024 pm 04:54 PM

Guide to HTML Input Placeholder. Here we discuss the Examples of HTML Input Placeholder along with the codes and outputs.

HTML Ordered List HTML Ordered List Sep 04, 2024 pm 04:43 PM

Guide to the HTML Ordered List. Here we also discuss introduction of HTML Ordered list and types along with their example respectively

Moving Text in HTML Moving Text in HTML Sep 04, 2024 pm 04:45 PM

Guide to Moving Text in HTML. Here we discuss an introduction, how marquee tag work with syntax and examples to implement.

HTML onclick Button HTML onclick Button Sep 04, 2024 pm 04:49 PM

Guide to HTML onclick Button. Here we discuss their introduction, working, examples and onclick Event in various events respectively.

See all articles