W3c Validator usage & can't see error

D

David Cox

I saw a suggestion to use the w3c validator on this forum.

http://validator.w3.org/

As a complete novice to web programming I am trying to learn by example as
well as by theorey, so I tried it on on a website that I am very familiar
with. It is clear the website is not compatible.

1.. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2.. <html xmlns="http://www.w3.org/1999/xhtml"><head>
3.. <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
4.. <meta http-equiv="Content-Style-Type" content="text/css" />
Is the validator relevant to this specification?

I got a list of errors. The first one I cannot see the problem gives the
message:

Line 189, Column 191: end tag for "div" omitted, but OMITTAG NO was
specified .

..net">Joomla Templates</a></div></body>?

source:

<div class="right"><a href="http://www.joomlashack.com" title="Joomla
Themes">Joomla Templates by JoomlaShack</a>&nbsp;<a
href="http://www.compassdesigns.net">Joomla Templates</a></div></body>

What should it be?

David F. Cox
 
D

David Mark

I saw a suggestion to use the w3c validator on this forum.

http://validator.w3.org/

As a complete novice to web programming I am trying to learn by example as
well as by theorey, so I tried it on on a website that I am very familiar
with. It is clear the website is not compatible.

1.. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2.. <html xmlns="http://www.w3.org/1999/xhtml"><head>
3.. <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
4.. <meta http-equiv="Content-Style-Type" content="text/css" />
Is the validator relevant to this specification?

I got a list of errors. The first one I cannot see the problem gives the
message:

Line 189, Column 191: end tag for "div" omitted, but OMITTAG NO was
specified .

.net">Joomla Templates</a></div></body>?

source:

<div class="right"><a href="http://www.joomlashack.com" title="Joomla
Themes">Joomla Templates by JoomlaShack</a>&nbsp;<a
href="http://www.compassdesigns.net">Joomla Templates</a></div></body>

It likely has another open DIV that contains the last one, but is not
closed. In other words, there should be two closing DIV tags at the
end.

Anyway, this is the wrong forum for this.
 
D

David Cox

Randy Webb said:
David Cox said the following on 8/13/2007 4:59 AM:

Without knowing what website it is, so that all of the HTML can be viewed,
nobody can answer you. They can only guess - at best. Best place to ask
HTML questions is in comp.infosystems.www.authoring.html

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/

Thanks. Apologies for wrong forum, I am more lost than I realised.

David F. Cox
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top