Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Pessoal, seguinte...
to trabalhando num xhtml aqui e tentei validá-lo no W3C, mas to com 5 erros que não to entendendo o motivo...
São mais específicos num menu dropdown que to fazendo. seguem os erros gerados:
end tag for X omitted, but OMITTAG NO was specified
1. Line 25, column 9: end tag for "li" omitted, but OMITTAG NO was specified
</strong>
2. Line 25, column 9: end tag for "ul" omitted, but OMITTAG NO was specified
</strong>
document type does not allow element X here; missing one of Y start-tag
3. Line 22, column 25: document type does not allow element "ul" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
<ul id="menu_dropdown">
4. Line 26, column 7: document type does not allow element "ul" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
<ul>
end tag for element X which is not open
5. Line 35, column 7: end tag for element "ul" which is not open
</ul> So, tanks for visit, you're
O codigo completo da página é o seguinte:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="[http://www.w3.org/1999/xhtml">](http://www.w3.org/1999/xhtml)
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Title here</title>
<!-- load CSS external file -->
<link href="screen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<br />
<br />
<!-- HEADER HomePage -->
<div id="header">
<h1>
<strong>
<!-- DROPDOWN rollover menu, logo -->
<ul id="menu_dropdown">
<li>
<a href="#" title="Go to home!"></a>
</strong>
<ul>
<li><a href="#" title="About">About</a></li>
<li><a href="#" title="Portfolio">Portfolio</a></li>
<li><a href="#" title="Projects">Projects</a></li>
<li><a href="#" title="Ideas">Ideas</a></li>
<li><a href="#" title="Contact">Contact</a></li>
</ul>
</ul> So, tanks for visit, you're
<a href="#">Welcome</a> here!<br />See my
<a href="#">ideas</a>,
<a href="#">works</a> and find out more
<a href="#">about me</a>.
</h1>
</div>
<!-- NEWS HomePage -->
<div id="featured">
<div class="first">
<h2>
<a href="#" title="Portfolio">Portfolio</a>
</h2>
<a href="#" title="Portfolio Title Message">
<img src="thumb_001.jpg" alt="Portfolio Alt Message"></img>
</a>
<p>The XXXX Website is a recently web creater in Flash with xml & php administration.</p>
</div>
<div class="first">
<h2>
<a href="#" title="Projects">Projects</a>
</h2>
<a href="#" title="Projects Title Message">
<img src="thumb_002.jpg" alt="Projects Alt Message”"></img>
</a>
<p>The XXXX Website is a recently web creater in Flash with xml & php administration.</p>
</div>
<div class="first">
<h2>
<a href="#" title="Works & Ambitions"> Works & Ambitions</a>
</h2>
<a href="#" title="Projects Title Message">
<img src="thumb_003.jpg" alt="Projects Alt Message"></img>
</a>
<p>The XXXX Website is a recently web creater in Flash with xml & php administration.</p>
</div>
<div class="first">
<h2>
<a href="#" title="Contact & Address">Contact & Address</a>
</h2>
<a href="#" title="Projects Title Message">
<img src="thumb_004.jpg" alt="Projects Alt Message"></img>
</a>
<p>The XXXX Website is a recently web creater in Flash with xml & php administration.</p>
</div>
</div>
<div id="laboratory">
<div class="laboratory_content">
<h3><a href="#" title="Lastest Experiments">Lastest Experiments</a></h3>
<p><a href="#" title="Acess this experiment">• Work with php+mySQL Session Admin, incremented with xml >> </a></p>
<p><a href="#" title="Acess this experiment">• Tableless portfolio 2.0c, news list from SQL database >> </a></p>
<p><a href="#" title="Acess this experiment">• New Adobe Flash CS4 trial available, enjoy it >> </a></p>
</div>
</div>
<div id="space"></div>
<!-- BOTTOM Bar -->
<div id="bottom">
<a href="#">Cavalaro 2005-2009</a>. Create with
<a href="#" title="Check the CSS Validation" target="_blank">CSS</a> and
<a href="#" title="Check the XHTML Validation" target="_blank">XHTML</a> tolls, for better
<a href="#" title="View the accessibility validation" target="_blank">accessibility</a>.
</div>
</body>
</html>
Alguém tem alguma idéia desses erros??
Obrigado.
Rafael
Carregando comentários...