小编Hex*_*l C的帖子

搜索引擎能否找到从PHP脚本回显的元标记信息?

我正在考虑做一些事情:

<?php
  $title = "Title of current page";
  include("head.php");
?>

<h1>The stuff that goes inside the BODY tag</h1>

<?php
  include("foot.php");
?>
Run Code Online (Sandbox Code Playgroud)

关键字和描述元标记将在head.php脚本中回显.如果我这样做,搜索引擎能够阅读关键字和描述吗?如果确实如此,它对搜索引擎排名的影响有多严重?

html php search-engine metadata

3
推荐指数
1
解决办法
224
查看次数

在对象内部使用document.getElementById(),在JSFiddle中工作,实际上是TypeError.为什么?

我有一个在JSFiddle中工作的代码,但是当我在本地保存HTML + JS并在本地测试时它不起作用.我无法弄清楚代码有什么问题.这是我的JSFiddle

http://jsfiddle.net/LLUAB/

这是实际的代码,不是很长

<!doctype html>
<html>
<head>
<script type="text/javascript" language="Javascript">
function Composer(foobox) {
    this.foobox = document.getElementById(foobox);

    this.foobox.onkeydown = function(){window.alert("hello")};
}

var myComposer = new Composer("foo");
</script>
</head>
<body>

<textarea id="foo"></textarea>

</body>
</html>
Run Code Online (Sandbox Code Playgroud)

html javascript jsfiddle

2
推荐指数
1
解决办法
2525
查看次数

为什么我的链接在Firefox中不起作用

右侧的链接应该用于类别.
三个链接有效但为什么之后的所有链接都不起作用?
当你点击它们时没有任何反应.
将鼠标移到鼠标上时,鼠标不会变为手指.

http://pinoydirectory.com/2011/directory/index.php

我删除了样式,简化了调试的URL,但链接仍然无效.为什么?
这些链接在Internet Explorer 8中有效,但它们在Firefox 4.0.1中不起作用

html css firefox hyperlink

0
推荐指数
1
解决办法
1446
查看次数

标签 统计

html ×3

css ×1

firefox ×1

hyperlink ×1

javascript ×1

jsfiddle ×1

metadata ×1

php ×1

search-engine ×1