2013-10-12 73 views
1

我不知道爲什麼,當我確認我的網站我得到這個錯誤,但很明顯,我做錯了什麼,因爲我碰到下面的錯誤太: 「一看到身體元素的開始標記,但的元素同一類型已經打開」流浪結束標記頭

<!DOCTYPE html> 
<html lang="en-uk"> 
<head> 
<title> Erasmus+</title> 
<meta name="author" content="" /> 
<meta name="dcterms.rights" content="" /> 
<meta name="" /> 
<meta name="keywords" content="" /> 
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> 

<link href="" type="text/css" /> 
<link href="" type="text/css" /> 
<link rel="stylesheet" type="text/css" href="" /> 
<link rel="shortcut icon" type="image/x-icon" href="" /> 
<?php wp_head();?>  
<!--[if !IE]><!--> 
<style> 

</style> 
<!--<![endif]--> 

<script> 
</script> 
</head> 

<body class="home blog"> 

這是一個WordPress網站:www.erasmus-plus.ro 我無法找到我在做什麼錯。 謝謝! 編輯:我看到,如果我刪除

<?php wp_head();?> 

錯誤消失了,但不是需要WordPress的文件?

回答

1

這不是完整的HTML代碼。望着源,顯然你有:

<input type='hidden' value='http://erasmus-plus.ro/wp-content/plugins/form-maker' id='form_plugins_url' /> 

在線路41這是「顯示」代碼,所以我認爲它使頭部部分關閉和打開<體>含蓄,因此當它得到抱怨到你的顯式標籤。

我想這一些雜散插件使用wp_head以插入到你的行爲不端。嘗試禁用你的插件一個接一個,你可能會找到罪魁禍首。可能與表單有關?

問候。