Common usage of meta and link tags
Basic page settings
<!-- 页面描述 --> <meta name="description" content="页面描述,控制在150字以内" /> <!-- 页面关键词 --> <meta name="keywords" content="关键字列表" /> <!-- 作者信息 --> <meta name="author" content="basecss, i@basecss.net" /> <!-- 页面图标 --> <link rel="shortcut icon" type="image/icon" href="icon.ico" /> <!--解决360浏览器网页显示异常 --> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
http information settings
<!-- 内容语言 --> <meta http-equiv="content-language" content="zh-CN" /> <!-- 自动跳转 --> <meta http-equiv="refresh" content="3; URL=http://www.baidu.com" /> <!-- 编码设置(可以直接用 charset="utf-8" 代替) --> <meta http-equiv="content-type" content="UTF-8" /> <!-- 缓存信息 --> <meta http-equiv="expires" content="GMT 格式时间" /> <!-- 禁止缓存 --> <meta http-equiv="pragma" content="no-cache" /> <!-- 缓存控制 --> <meta http-equiv="Cache-control" content="max-age=5" /> <!-- ****************************** public: 允许任何人缓存此页; private: 不允许缓存服务器缓存此页; no-cache: 相应不能被缓存; no-stroe: 请求相应都不能被缓存; max-age: 最大生存周期(秒); min-fresh: 客户端愿意接受的最小缓存时长,缓存时间超过该值会要求向服务器查新; max-stale: 接受超过缓存时限但不超过该值的数据; ******************************* --> <!-- 添加 cookie --> <meta http-equiv="set-cookie" content="cookieName=cookieValue;expires=GMT 格式时间;path=/" /> <!-- 页面加载动画 --> <meta http-equiv="page-enter" content="blandtrans(duration=0.5)" /> <!-- 页面退出动画 --> <meta http-equiv="page-exit" content="revealtrans(duration=0.5,transtion=1)" /> <!-- ****************************** transtion 可以取0-23的整数,分别表示: 0.盒状收缩; 1.盒状展开; 2.圆形收缩; 3.圆形展开; 4.向上擦除; 5.向下擦除; 6.向左擦除; 7.向右擦除; 8.垂直百叶窗; 9.水平百叶窗; 10.纵向棋盘; 11.横向棋盘; 12.溶解; 13.左右向中间收缩; 14.中间向左右展开; 15.上下向中间收缩; 16.中间向上下展开; 17.阶梯向左下; 18.阶梯向左上; 19.阶梯向右下; 20.阶梯向右上; 21.水平随机线; 22.垂直随机线; 23.随机; ****************************** -->
Search engine related settings
<!-- 设置搜索引擎抓取间隔 --> <meta name="visit-after" content="10 days"> <!-- 搜索引擎抓取设置 --> <meta name="robots" content="index, follow" /> <!-- ****************************** index: 允许搜索引擎抓取此页; noindex: 不允许搜索引擎抓取此页; follow: 允许搜索引擎抓取子页面; nofollow: 允许搜索引擎抓取子页面; none: 等同于 noindex 和 nofollow all: 等同于 index 和 follow ******************************* -->
Mobile related settings
Basic settings for mobile development
<!-- 声明文档字符编码 --> <meta charset="utf-8"> <!-- IE 兼容性设置 --> <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" /> <!-- 用最新模式渲染,优先使用 chrome --> <!-- 为移动设备设置 viewport --> <meta name="viewport" content="width=device-width,initial-scale=1, minium-scale=1, user-scalable=no" /> <!-- iOS 移动设备添加主屏幕标题设置 --> <meta name="apple-mobile-web-app-title" content="My App" /> <!-- 是否启用全屏模式 --> <meta name="apple-mobile-web-app-capable" content="yes" /> <!-- 全屏时状态栏颜色设置 --> <meta name="apple-mobile-web-status-bar-style" content="black-translucent" /> <!-- 禁用电话号码自动识别 --> <meta name="format-detection" content="telephone=no" /> <!-- 禁用邮箱自动识别 --> <meta name="format-detection" content="email=no" /> <!-- 添加智能 App 广告条 Smart App Banner(iOS 6+ Safari), 默认禁用 --> <meta name="apple-itunes-app" content="app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL" />
The above is the detailed content of Common usage of meta and link tags. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Classification and Usage Analysis of JSP Comments JSP comments are divided into two types: single-line comments: ending with, only a single line of code can be commented. Multi-line comments: starting with /* and ending with */, you can comment multiple lines of code. Single-line comment example Multi-line comment example/**This is a multi-line comment*Can comment on multiple lines of code*/Usage of JSP comments JSP comments can be used to comment JSP code to make it easier to read

The Meta Connect 2024event is set for September 25 to 26, and in this event, the company is expected to unveil a new affordable virtual reality headset. Rumored to be the Meta Quest 3S, the VR headset has seemingly appeared on FCC listing. This sugge

Get your GPU ready! Llama3.1 finally appeared, but the source is not Meta official. Today, the leaked news of the new Llama large model went viral on Reddit. In addition to the basic model, it also includes benchmark results of 8B, 70B and the maximum parameter of 405B. The figure below shows the comparison results of each version of Llama3.1 with OpenAIGPT-4o and Llama38B/70B. It can be seen that even the 70B version exceeds GPT-4o on multiple benchmarks. Image source: https://x.com/mattshumer_/status/1815444612414087294 Obviously, version 3.1 of 8B and 70

Last night Meta released the Llama38B and 70B models. The Llama3 instruction-tuned model is fine-tuned and optimized for dialogue/chat use cases and outperforms many existing open source chat models in common benchmarks. For example, Gemma7B and Mistral7B. The Llama+3 model improves data and scale and reaches new heights. It was trained on more than 15T tokens of data on two custom 24K GPU clusters recently released by Meta. This training dataset is 7 times larger than Llama2 and contains 4 times more code. This brings the capability of the Llama model to the current highest level, which supports text lengths of more than 8K, twice that of Llama2. under

Llama3 is here! Just now, Meta’s official website was updated and the official announced Llama 38 billion and 70 billion parameter versions. And it is an open source SOTA after its launch: Meta official data shows that the Llama38B and 70B versions surpass all opponents in their respective parameter scales. The 8B model outperforms Gemma7B and Mistral7BInstruct on many benchmarks such as MMLU, GPQA, and HumanEval. The 70B model has surpassed the popular closed-source fried chicken Claude3Sonnet, and has gone back and forth with Google's GeminiPro1.5. As soon as the Huggingface link came out, the open source community became excited again. The sharp-eyed blind students also discovered immediately

How to use the exit function in C language requires specific code examples. In C language, we often need to terminate the execution of the program early in the program, or exit the program under certain conditions. C language provides the exit() function to implement this function. This article will introduce the usage of exit() function and provide corresponding code examples. The exit() function is a standard library function in C language and is included in the header file. Its function is to terminate the execution of the program, and can take an integer

Just now, the long-awaited Llama 3.1 has been officially released! Meta officially issued a voice that "open source leads a new era." In the official blog, Meta said: "Until today, open source large language models have mostly lagged behind closed models in terms of functionality and performance. Now, we are ushering in a new era led by open source. We publicly released MetaLlama3.1405B, which we believe It is the largest and most powerful open source basic model in the world. To date, the total downloads of all Llama versions have exceeded 300 million times, and we have just begun.” Meta founder and CEO Zuckerberg also wrote an article. Long article "OpenSourceAIIsthePathForward",

WPS is a commonly used office software suite, and the WPS table function is widely used for data processing and calculations. In the WPS table, there is a very useful function, the DATEDIF function, which is used to calculate the time difference between two dates. The DATEDIF function is the abbreviation of the English word DateDifference. Its syntax is as follows: DATEDIF(start_date,end_date,unit) where start_date represents the starting date.
