You are here: Re: code does not validate « HTML « IT news, forums, messages
Re: code does not validate

Posted by charles cashion on 12/28/07 20:04

Jonathan N. Little wrote:
> charles cashion wrote:
>
>>>> charles cashion wrote:
>
>>>>> http://dunjas.com/FontTest.html
>
>> OK.
>> I have read the thread.
>> Since I am not firing blanks, and I am not messing with XHTML,
>> and I am not using & ... may I buy a vowel?
>>
>> I am using &lt: and >. I suppose I could remove all entities
>> and see if the validator likes that better. ... I will get back
>> to you on this one.
>>
>> I have tried both (one at a time)...
>> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
>> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
>> but the warning remains.
>
>
> The only URL you provide in the thread it above and has no such meta tags.
>
> Try as your template:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
> <html>
> <head>
> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
> <meta http-equiv="content-language" content="en-us">
> <title>template</title>
> </head>
> <body>
> <!-- put your markup here -->
>
> </body>
> </html>

Jonathan,
FIRST, You are right. My code contains/contained no meta
tags. I know what went wrong *but* I repeated the error.
I was doing something wrong when I ran ftp.

My code contains font declarations and a strict doctype
does not accept font declarations. The first time I ran
the validator using strict doctype, it gave me *many*
errors. If you respond to this message, please tell me
how to access and examine the strict DTD. (thank you)

I went back to the transitional doctype and installed
your two suggested meta tags and now I have *NO* errors
or warnings.
Charles

 

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

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