- From: Jukka K. Korpela <jkorpela@cs.tut.fi>
- Date: Thu, 5 Jul 2007 20:45:38 +0300 (EEST)
- To: Miguel Angel Maldonado Sanchez <mikixd@gmail.com>
- cc: www-validator@w3.org
On Wed, 4 Jul 2007, Miguel Angel Maldonado Sanchez wrote: > this is the error: > Error [79]: "end tag for element X which is not open" You should have posted the URL, too. > and here post the complete code: > > <i>Sea tan amable de esperar<br/>Aplicando formato...</i> That's nowhere near the complete code. For example, what's the doctype? Posting the URL would have let us find that out. Probably you are using a "classic" HTML doctype such as some flavor of HTML 4.01, which is fine, but then you must not use XMLish constructs like <br/> but simply <br>. (<br/> is not recommended even for XHTML 1.0; instead you should use <br /> - but only in XHTML.) > more errors: > > Error Line 165 column 57: end tag for element "B" which is not open. > > document.getElementById("lbllimite").innerHTML="<b>0</b>"; > > <b>0</b> This might be caused the previous error, or it might be caused by the fact that this stuff is inside a <script> element, where no end tags are allowed. As the validator FAQ tells you, you need to deal with this in some script-specific way, e.g. writing </b> as <\/b> when using JavaScript, or by putting the JavaScript code in an external file. -- Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Thursday, 5 July 2007 17:45:56 UTC