code does not validate

code does not validate

am 27.12.2007 23:22:56 von charles cashion

I have worked on it until I am down to one warning.
I have read (almost) all suggested pages associated
with this warning. I have made two suggested changes,
but it still have one warning.

I have compared the first few lines with at least
fifty other web pages, and copied what might have
been missing from my web page. This is my web site.

http://dunjas.com/FontTest.html

The warning says I must declare my character set.
I think the You can click here to directly view the warning.

http://validator.w3.org/check?uri=http%3A%2F%2Fdunjas.com%2F FontTest.html&charset=%28detect+automatically%29&doctype=Inl ine&group=0

*QUESTION* How do I remove this warning? Can you
suggest something to read which will tell me how
to fix it?

Thanks,
Charles

Re: code does not validate

am 27.12.2007 23:35:30 von rf

"charles cashion" wrote in message
news:4BVcj.11856$1q4.10189@trnddc06...

>I have worked on it until I am down to one warning.

> The warning says I must declare my character set.

> *QUESTION* How do I remove this warning?

Declare a character set. It's a meta element (http-equiv, content).

The text of the warning points to "a few tips..." on how to do this. Or just
look at the source that came from the validator.

--
Richard.

Re: code does not validate

am 28.12.2007 00:15:55 von Harlan Messinger

rf wrote:
> "charles cashion" wrote in message
> news:4BVcj.11856$1q4.10189@trnddc06...
>
>> I have worked on it until I am down to one warning.
>
>> The warning says I must declare my character set.
>
>> *QUESTION* How do I remove this warning?
>
> Declare a character set. It's a meta element (http-equiv, content).
>
> The text of the warning points to "a few tips..." on how to do this. Or just
> look at the source that came from the validator.
>

Well, actually, the *server* should be configured to send an HTTP header
with this information. Failing that, and especially if the server is
configured to send the *wrong* information, the next best approach if
one is using any kind of server-side technology like PHP or ASP(.NET) is
to set the character set programmatically. The meta tag solution is a
last resort (though it's the only resort for an HTML document being
opened locally instead of being requested from a web server).

Re: code does not validate

am 28.12.2007 00:56:17 von charles cashion

rf wrote:
> "charles cashion" wrote in message
> news:4BVcj.11856$1q4.10189@trnddc06...
>
>> I have worked on it until I am down to one warning.
>
>> The warning says I must declare my character set.
>
>> *QUESTION* How do I remove this warning?
>
> Declare a character set. It's a meta element (http-equiv, content).
>
> The text of the warning points to "a few tips..." on how to do this. Or just
> look at the source that came from the validator.
>

*QUESTION* Where is the source that came from the validator?
--cc

Re: code does not validate

am 28.12.2007 02:19:59 von rf

"charles cashion" wrote in message
news:BYWcj.4182$nh7.2713@trnddc01...
> rf wrote:
>> "charles cashion" wrote in message
>> news:4BVcj.11856$1q4.10189@trnddc06...
>>
>>> I have worked on it until I am down to one warning.
>>
>>> The warning says I must declare my character set.
>>
>>> *QUESTION* How do I remove this warning?
>>
>> Declare a character set. It's a meta element (http-equiv, content).
>>
>> The text of the warning points to "a few tips..." on how to do this. Or
>> just look at the source that came from the validator.
>>
>
> *QUESTION* Where is the source that came from the validator?


View->Page Source.

--
Richard.

Re: code does not validate

am 28.12.2007 03:33:18 von Ed Mullen

charles cashion wrote:
> I have worked on it until I am down to one warning.
> I have read (almost) all suggested pages associated
> with this warning. I have made two suggested changes,
> but it still have one warning.
>
> I have compared the first few lines with at least
> fifty other web pages, and copied what might have
> been missing from my web page. This is my web site.
>
> http://dunjas.com/FontTest.html
>
> The warning says I must declare my character set.
> I think the > You can click here to directly view the warning.
>
> http://validator.w3.org/check?uri=http%3A%2F%2Fdunjas.com%2F FontTest.html&charset=%28detect+automatically%29&doctype=Inl ine&group=0
>
>
> *QUESTION* How do I remove this warning? Can you
> suggest something to read which will tell me how
> to fix it?
>
> Thanks,
> Charles

Add this under the Title meta tag:




--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net
Chaos, panic, & disorder -- my work here is done.

Re: code does not validate

am 28.12.2007 03:56:12 von dorayme

In article ,
Ed Mullen wrote:

> charles cashion wrote:
> > I have worked on it until I am down to one warning.
> > I have read (almost) all suggested pages associated
> > with this warning. I have made two suggested changes,
> > but it still have one warning.
> >
> > I have compared the first few lines with at least
> > fifty other web pages, and copied what might have
> > been missing from my web page. This is my web site.
> >
> > http://dunjas.com/FontTest.html
> >
> > The warning says I must declare my character set.
> > I think the > > You can click here to directly view the warning.
> >
> > http://validator.w3.org/check?uri=http%3A%2F%2Fdunjas.com%2F FontTest.html&ch
> > arset=%28detect+automatically%29&doctype=Inline&group=0
> >
> >
> > *QUESTION* How do I remove this warning? Can you
> > suggest something to read which will tell me how
> > to fix it?
> >
> > Thanks,
> > Charles
>
> Add this under the Title meta tag:
>
>

Read the thread:

http://tinyurl.com/2dvwye

--
dorayme

Re: code does not validate

am 28.12.2007 04:08:30 von Ed Mullen

dorayme wrote:
> In article ,
> Ed Mullen wrote:
>
>> charles cashion wrote:
>>> I have worked on it until I am down to one warning.
>>> I have read (almost) all suggested pages associated
>>> with this warning. I have made two suggested changes,
>>> but it still have one warning.
>>>
>>> I have compared the first few lines with at least
>>> fifty other web pages, and copied what might have
>>> been missing from my web page. This is my web site.
>>>
>>> http://dunjas.com/FontTest.html
>>>
>>> The warning says I must declare my character set.
>>> I think the >>> You can click here to directly view the warning.
>>>
>>> http://validator.w3.org/check?uri=http%3A%2F%2Fdunjas.com%2F FontTest.html&ch
>>> arset=%28detect+automatically%29&doctype=Inline&group=0
>>>
>>>
>>> *QUESTION* How do I remove this warning? Can you
>>> suggest something to read which will tell me how
>>> to fix it?
>>>
>>> Thanks,
>>> Charles
>> Add this under the Title meta tag:
>>
>>
>
> Read the thread:
>
> http://tinyurl.com/2dvwye
>
I can't. The text is too small and when I enlarge it enough to read I
have to scroll horizontally. Waaay too much trouble. Was there some
specific point you wanted to make?

--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net
What is a free gift? Aren't all gifts free?

Re: code does not validate

am 28.12.2007 05:09:14 von rf

"dorayme" wrote in message
news:doraymeRidThis-8BDC19.13561228122007@news-vip.optusnet. com.au...
> In article ,
> Ed Mullen wrote:

>> Add this under the Title meta tag:
>>
>>

> Read the thread:
>
> http://tinyurl.com/2dvwye

Why? Will it help with character sets?

--
Richard.

Re: code does not validate

am 28.12.2007 18:01:57 von charles cashion

dorayme wrote:
> In article ,
> Ed Mullen wrote:
>
>> charles cashion wrote:
>>> I have worked on it until I am down to one warning.
>>> I have read (almost) all suggested pages associated
>>> with this warning. I have made two suggested changes,
>>> but it still have one warning.
>>>
>>> I have compared the first few lines with at least
>>> fifty other web pages, and copied what might have
>>> been missing from my web page. This is my web site.
>>>
>>> http://dunjas.com/FontTest.html
>>>
>>> The warning says I must declare my character set.
>>> I think the >>> You can click here to directly view the warning.
>>>
>>> http://validator.w3.org/check?uri=http%3A%2F%2Fdunjas.com%2F FontTest.html&ch
>>> arset=%28detect+automatically%29&doctype=Inline&group=0
>>>
>>>
>>> *QUESTION* How do I remove this warning? Can you
>>> suggest something to read which will tell me how
>>> to fix it?
>>>
>>> Thanks,
>>> Charles
>> Add this under the Title meta tag:
>>
>>
>
> Read the thread:
>
> http://tinyurl.com/2dvwye
>

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 <: 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)...


but the warning remains.
Thanks,
Charles

Re: code does not validate

am 28.12.2007 18:53:03 von lws4art

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 <: 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)...
>
>
> but the warning remains.


The only URL you provide in the thread it above and has no such meta tags.

Try as your template:

"http://www.w3.org/TR/html4/strict.dtd">




template








--
Take care,

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

Re: code does not validate

am 28.12.2007 20:26:54 von dorayme

In article ,
Ed Mullen wrote:

> dorayme wrote:

> > Read the thread:
> >
> > http://tinyurl.com/2dvwye
> >
> I can't. The text is too small and when I enlarge it enough to read I
> have to scroll horizontally. Waaay too much trouble. Was there some
> specific point you wanted to make?
>
You know Ed, this morning, I have clean forgot! Sorry, I might
have been confusing issues in haste. Forget what I said.

Not satisfied with this reply? OK. what about: It seems I was
looking for another thread more on the issue and confused this
one with another that was confused with a thread that happened to
be relevant but whose relevance could be confused by those
distracted by another confused thread on an issue that could
easily be confused with this one or the other one and I am hoping
you will let me back out of the room on this one talking as fast
as I can all the way out without giving anyone a chance to say
anything hurtful and humiliating to a simple being, in a delicate
post Xmas phase of life... ?

(btw, how do you look up old threads if you don't like Google?
You know you can adjust the frames and stuff? I agree it is not
the best.)

--
dorayme

Re: code does not validate

am 28.12.2007 21:04:38 von charles cashion

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 <: 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)...
>>
>>
>> but the warning remains.
>
>
> The only URL you provide in the thread it above and has no such meta tags.
>
> Try as your template:
>
> > "http://www.w3.org/TR/html4/strict.dtd">
>
>
>
>
> template
>
>
>
>
>
>

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

Re: code does not validate

am 28.12.2007 23:06:11 von lws4art

charles cashion wrote:
> 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 <: 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)...
>>>
>>>
>>> but the warning remains.
>>
>>
>> The only URL you provide in the thread it above and has no such meta
>> tags.
>>
>> Try as your template:
>>
>> >> "http://www.w3.org/TR/html4/strict.dtd">
>>
>>
>>
>>
>> template
>>
>>
>>
>>
>>
>>
>
> 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.

Then *don't* use the deprecated FONT element.

> The first time I ran
> the validator using strict doctype, it gave me *many*
> errors.

So fix them.

> If you respond to this message, please tell me
> how to access and examine the strict DTD. (thank you)
>

Try reviewing

http://www.w3.org/TR/html4/index/elements.html

Note the *Depr.* column and follow the suggested alternative.

Also:
http://www.w3.org/TR/html4/appendix/changes.html#h-A.3.1.2

And:
http://www.w3.org/TR/html4/appendix/changes.html#h-A.3.1.3



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

But this is a *new* page, you are not transitioning from anything. Why
not spend a little time and review the tutorials on www.htmldog.com and
learn about HTML and CSS. If you were thinking about rebuilding your car
engine, would you not consider at least looking at a Chilton's book
before you start?


How to avoid the FONT element. Use style. Either define a class or style
an element directly
"http://www.w3.org/TR/html4/strict.dtd">




Demo




I'm all pointy and Roman




But my paragraphs do not have any serifs, and I can
blush red in the middle
of a sentence with a span element and a class. We
keep offering these suggestions until we are
blue in the face,
but people keep using the font element.








--
Take care,

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

Re: code does not validate

am 28.12.2007 23:45:01 von a.nony.mous

charles cashion wrote:

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

...and reverted to last-century style coding.

== dodo bird

Use CSS instead, and the 4.01 Strict doctype. I already showed you how
to nest font families in one of your other threads.

--
-bts
-Motorcycles defy gravity; cars just suck