我使用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