2011-11-21 31 views
1

我想驗證我的頁面,並得到以下W3驗證錯誤以下行,獲取w3validation錯誤

<li ><a href="javascript:void(0);"title="Test 33">Test 33</a> 
    - attributes construct error 
    - Couldn't find end of Start Tag a line ..... 
    - Opening and ending tag mismatch: li line ... and a 

我使用下面的doctype <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

哪些錯誤的代碼?請在此建議。

+1

您在

  • 中有一個空間,並且您沒有用
  • 關閉它,但只有一堆文字,很難說明..care將鏈接發佈到頁面上?它會好得多... –

    回答

    4

    "title之間的空格應該這樣做。

    +0

    @Dinesh你嘗試過紅色X解決方案嗎? –

    +0

    @SameeraThilakasiri對不起,我不知道red-x – mymotherland

    +0

    @Dinesh它確定,red-X表示這個答案的所有者,我只是問你是否有正確的方式:) –