2012-11-23 86 views
0

我很努力地找出這個<UL>錯誤來自驗證檢查。這是說我有一個未打開的<UL>標籤......請有人幫助我,因爲我迷失在這個標籤的位置:S。UL標記不關閉

http://www.mammacoil.com/

感謝 科斯蒂

這是錯誤:

Line 67, Column 5: end tag for "ul" which is not finished

</ul>

Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p> . Acceptable nesting is: <p><em>...</em></p>

Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li> ; <dl> requires <dt> and <dd>), and so on.

+0

驗證對我有用:http://validator.w3.org/check?uri=http%3A%2F%2Fwww.mammacoil.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0 – Matthew

+0

嗯,必須有一直在有一個金髮的時刻:) –

+0

@Matthew該鏈接顯示「第67行,第5欄:結束標籤爲」ul「,這是沒有完成」 – Curt

回答

3

答案是正確的有:

For instance, in HTML the element must contain a child element, ... <ul> and <ol> require <li>...

您有一個空<ul></ul>(實際上,正好是,驗證者告訴你它在哪裏),這是非法的。