84669 Lernen von Personen
152542 Lernen von Personen
20005 Lernen von Personen
5487 Lernen von Personen
7821 Lernen von Personen
359900 Lernen von Personen
3350 Lernen von Personen
180660 Lernen von Personen
48569 Lernen von Personen
18603 Lernen von Personen
40936 Lernen von Personen
1549 Lernen von Personen
1183 Lernen von Personen
32909 Lernen von Personen
如题
看不懂的<meta http-equiv="Content-Type" content="text/html; charset=utf-8">?-PHP中文网问答-看不懂的<meta http-equiv="Content-Type" content="text/html; charset=utf-8">?-PHP中文网问答
围观一下哦,学习一下。
这条代码设定页面使用的字符集“Content-Type”定义了定义当前页面的文件类型“text/html”和编码方式“utf-8”。
<meta> 是HTML语言中的一个可选的标记项。提供关于 HTML 文档的元数据。元数据不会显示在页面上,但是对于机器是可读的。
meta 元素被用于规定页面的描述、关键词、文档的作者、最后修改时间以及其他元数据。
元数据可用于浏览器(如何显示内容或重新加载页面),搜索引擎(关键词),或其他 web 服务。
使用在页面的<head></head>之间。
meta的用法:
语法: <meta name="name" content="string">
参数:
1)name项:常用的选项有keywords(关键字)、description(描述或说明)、author(制作者)等。
2)http-equiv项:可用于代替name项,常用的选项有creation-date(创作日期)、refresh(刷新与自动跳转)等。
3)content(内容)项:根据name项或http-equiv项的定义来决定此项填写什么样的字符串。
举个栗子:
<meta name="Keyword" content="php中文网,公开课,MOOC,php中文网,移动开发,IT技能,免费编程视频,在线编程学习,php开发,web前端,html5教程,css教程,ios开发培训,安卓开发教程,android开发,php中文网官网">
看不懂的<meta http-equiv="Content-Type" content="text/html; charset=utf-8">?-PHP中文网问答-看不懂的<meta http-equiv="Content-Type" content="text/html; charset=utf-8">?-PHP中文网问答
围观一下哦,学习一下。
这条代码设定页面使用的字符集“Content-Type”定义了定义当前页面的文件类型“text/html”和编码方式“utf-8”。
<meta> 是HTML语言中的一个可选的标记项。提供关于 HTML 文档的元数据。元数据不会显示在页面上,但是对于机器是可读的。
meta 元素被用于规定页面的描述、关键词、文档的作者、最后修改时间以及其他元数据。
元数据可用于浏览器(如何显示内容或重新加载页面),搜索引擎(关键词),或其他 web 服务。
使用在页面的<head></head>之间。
meta的用法:
语法: <meta name="name" content="string">
参数:
1)name项:常用的选项有keywords(关键字)、description(描述或说明)、author(制作者)等。
2)http-equiv项:可用于代替name项,常用的选项有creation-date(创作日期)、refresh(刷新与自动跳转)等。
3)content(内容)项:根据name项或http-equiv项的定义来决定此项填写什么样的字符串。
举个栗子:
<meta name="Keyword" content="php中文网,公开课,MOOC,php中文网,移动开发,IT技能,免费编程视频,在线编程学习,php开发,web前端,html5教程,css教程,ios开发培训,安卓开发教程,android开发,php中文网官网">