为什么非元内容名称有效

时间:2014-05-08 00:02:59

标签: html

我正在制作一个简单的网站重定向页面,以重定向到Twitter,但将其作为我的iphone上的网络应用程序。似乎元名称标签剂量工作或其他东西,因为页面没有标题,我想说它的推特。任何人都可以帮助我吗?对不起,如果我没有使用正确的术语,因为我刚进入html和即时通讯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>

2 个答案:

答案 0 :(得分:1)

我假设

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

应该是:

<meta content-name="Twitter" />

或:

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

我还假设<meta http-equiv="Refresh"只是一个剪切'粘贴错误。如果没有,请将其删除。

答案 1 :(得分:0)

元标记用于提供有关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