我刚开始创建一个新的网站,目前不在互联网上。我的第一个网站对我来说都是新鲜事物。我正在尝试实现Facebook的按钮。我输入了代码,但没有显示任何内容。我正在使用TextWrangler创建网站并使用MacBook Air。不确定这些信息是否有帮助。也许它不工作,因为元属性?我不太明白我需要输入什么信息。Facebook的按钮iframe代码不显示
这里是我的代码:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>[]</title>
<meta property="og:title" content="The []" />
<meta property="og:type" content="website" />
<meta property="og:url" content="file:///Users/[]/Documents/Sites/IBS.html" />
<meta property="og:image" content="http://[].jpeg" />
<meta property="og:site_name" content="The []" />
<meta property="fb:admins" content="218100060" />
</head>
<body>
<p>hello</p>
<iframe src="//www.facebook.com/plugins/like.phphref=file%3A%2F%2F%2FUsers%2Fshikhaverma%2FDocuments%2FSites%2FIBS.html&
send=false&layout=standard&width=450&show_faces=true&font=arial&
colorscheme=light&action=like&height=80" scrolling="no" frameborder="0"
style="border:none; overflow:hidden; width:450px; height:40px;" allowTransparency="true">
</iframe>
</body>
</html>
如果你能帮助我将不胜感激。 谢谢。
看起来事情正在双重逃脱? –