You are here: Re: Firefox shows correctly? Validator no help « HTML « IT news, forums, messages
Re: Firefox shows correctly? Validator no help

Posted by Jonathan N. Little on 01/22/01 11:59

richard wrote:
> www.1-small-world.com/index2.html
>
> Validator now shows 2 errors.
>
> 1) "character data not allowed here". Then where and how should it be
> placed?
>
> 2) end tag for "head" is unfinished.
> So what am I missing here?
>
This for both errors is this

<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" />
^^^
That is *XHTML* not *HTML* syntax for single tag elements. Should be:

<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">

Also do yourself a favor, start new projects with strict and not
transitional DOCTYPE.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация