我使用Zend框架来创建网站。 在我的布局,我写Meta标签在同一行
<?php
echo $this->headTitle('Zend Framework');
$this->headMeta()->appendName('keywords', 'framework php productivity');
$this->headMeta()->appendName('description', 'some description');
echo $this->headMeta();
?>
在源代码中的元标题和meta-关键字成为在同一直线上。
<title>Zend Framework</title> <meta name="keywords" content="framework php productivity" />
<meta name="description" content="some description" />
它是真的关于搜索优化或不是?
非常感谢,我现在没有关于这个有用的方法。现在我会尝试使用它。 – 2011-03-02 09:55:19