On Jul 17, 2006, at 12:54 PM, Walter Lee Davis wrote:
You need to close the first meta tag and the doctype with a
trailing slash, just like all the other single-ended tags in your
example. What you are seeing from your errors is that the
validator doesn't realize that the doctype is ended, and is
plowing in as though it was still open, waiting for a </doctype>
tag which will never come.
You do need to close <meta> tags (specifically the first one), but
you don't close DOCTYPE declarations like you do HTML tags. I
believe the DOCTYPE here is good and closing it as you would HTML
tags would actually be (more) invalid.
Peace,
Scott
On Jul 17, 2006, at 1:16 PM, Craig Hoffman wrote:
I'm using BBEdit to create a new web page
File => New HTML Document...
When I go and view the index page I get errors from Safari Tidy
(http://www.zappatic.net/safaritidy/). Some of the warnings:
- plain text isn't allowed in <head> elements
- <meta> isn't allowed in <body> elements
- so on...
It seems there is something wrong with the "content-type" and
"charset", but it looks fine to me. What am I missing?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden