2013-11-28 21 views
1

任何機構可以幫我在這可以去除驗證錯誤的任何一個幫助

2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" 
    3  "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> 
    4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr" 
    5  xmlns:content="http://purl.org/rss/1.0/modules/content/" 
    6  xmlns:dc="http://purl.org/dc/terms/" 
    7  xmlns:foaf="http://xmlns.com/foaf/0.1/" 
    8  xmlns:og="http://ogp.me/ns#" 
    9  xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" 
    10  xmlns:sioc="http://rdfs.org/sioc/ns#" 
    11  xmlns:sioct="http://rdfs.org/sioc/types#" 
    12  xmlns:skos="http://www.w3.org/2004/02/skos/core#" 
    14 
    15 <head profile="http://www.w3.org/1999/xhtml/vocab"> 
    16  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 

這是HTML爲我的網站做驗證它顯示消息後

的xmlns:CONTENT =「HTTP:/ /purl.org/rss/1.0/modules/content/」 ^

錯誤:沒有屬性的xmlns:此元素的內容(在此HTML版本)

這MESSA GE是顯示了5行至第13行,我沒有得到它 任何幫助,將不勝感激

回答

-1
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr" 
    xmlns:content="http://purl.org/rss/1.0/modules/content/" 
    xmlns:dc="http://purl.org/dc/terms/" 
    xmlns:foaf="http://xmlns.com/foaf/0.1/" 
    xmlns:og="http://ogp.me/ns#" 
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" 
    xmlns:sioc="http://rdfs.org/sioc/ns#" 
    xmlns:sioct="http://rdfs.org/sioc/types#" 
    xmlns:skos="http://www.w3.org/2004/02/skos/core#" > 

請關閉此HTML標記與線收角括號沒有12

請關閉此並嘗試。 我猜ü忘了關閉「>」爲HTML

0

或者:

  1. 使用DTD,其中包括xmlns:content,而您希望使用
  2. 刪除屬性,這些屬性驗證的其他屬性報告不存在於您正在驗證的DTD中
相關問題