Forum Moderators: open

Message Too Old, No Replies

Why won't this validate?

Copied from W3C too...

         

Wlauzon

6:22 am on Jan 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I get this error using the W3C HTML validator:

Below are the results of checking this document for XML well-formedness and validity.

Error Line 5 column 72: end tag for "meta" omitted, but OMITTAG NO was specified.
...ype" content="text/html; charset=ISO-8859-1">
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

This is what it is barfing at:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

Span

6:27 am on Jan 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It means your meta tag is not closed. It has to end like: ...charset=ISO-8859-1" />

Wlauzon

4:23 pm on Jan 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Bad things happen when you go blind late at night :(