Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/variables/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 为什么元内容名称不起作用_Html - Fatal编程技术网

Html 为什么元内容名称不起作用

Html 为什么元内容名称不起作用,html,Html,我正在制作一个简单的网站重定向页面,以重定向到twitter,但我的iphone上有一个web应用程序。这看起来像是元名称标签dosent或什么的工作,因为网页没有标题,我想它说twitter。有人能帮我吗?对不起,如果我没有使用正确的术语,因为我刚刚进入html和im 15。谢谢下面是我的网页代码,我有元标签在那里,但它似乎不工作 <!DOCTYPE html> <html> <head> <link rel="app

我正在制作一个简单的网站重定向页面,以重定向到twitter,但我的iphone上有一个web应用程序。这看起来像是元名称标签dosent或什么的工作,因为网页没有标题,我想它说twitter。有人能帮我吗?对不起,如果我没有使用正确的术语,因为我刚刚进入html和im 15。谢谢下面是我的网页代码,我有元标签在那里,但它似乎不工作

 <!DOCTYPE html>
    <html>
      <head>
      <link rel="apple-touch-icon" href="http://bkenterprises.neocities.org/twitters.png" />
      <link rel="shortcut icon" href="http://bkenterprises.neocities.org/twitters.png" />
      <meta http-equiv="Refresh" 
      <meta http-equiv="refresh" content="0; url=http://www.twitter.com" /> 
      <meta content="name="Twitter" />
      </head>
    <html>

我想

<meta content="name="Twitter" />

元标记用于提供有关HTML文件的数据,您要使用的是

<title></title> This has to be within your head tags, they are used like this
<title>Example</title> This will create the title on your page tab, for extra touches you can also use <link rel="shortcut icon" href="Your link"/> If you want the small image next to your title
这必须在你的头部标签中,它们是这样使用的
例如,这将在您的页面选项卡上创建标题,如果您希望标题旁边有一个小图像,还可以使用额外的触摸

这是一个未关闭的标签和一些额外的引号
<meta content="Twitter" name="Idontknow" />
<title></title> This has to be within your head tags, they are used like this
<title>Example</title> This will create the title on your page tab, for extra touches you can also use <link rel="shortcut icon" href="Your link"/> If you want the small image next to your title