- From: Paul Stanley <pauls@cox-internet.com>
- Date: Thu, 14 Feb 2002 15:38:47 -0600
- To: "www-validator" <www-validator@w3.org>
- Message-ID: <003401c1b59f$fcb48100$6401a8c0@coxinternet.com>
Well, gee, thanks for such a prompt reply. And correct, too:-) I looked through the HTML 4.0 spec (which I downloaded from the w3c site) and I can't find anything anywhere that states that this meta tag must appear in the <head>. Did I miss something, or is this just one of those "either you know it or you don't" things? (By the way, I have an extensive background both in programming and in spec authorship, so these sorts of things are neither surprising nor unexpected.) I made the corrections that John suggested. Now what? (I promise! I'm almost done with silly-a** questions...for now...) ----- Original Message ----- From: John McCain To: Paul Stanley Sent: Thursday, February 14, 2002 2:55 PM Subject: Re: Newbie just getting his feet wet... The <meta> tag is supposed to occur within the <head> tag. You don't have a <head> tag, so this is confusing the parser. ------------------ HTML Validation Service Results URI: Server: Zeus/3.4 Detected Character Encoding: utf-8 Select Character Encoding: (detect automatically)utf-8 (Unicode, worldwide)iso-8859-1 (Western Europe)iso-8859-2 (Central Europe)iso-8859-3 (Maltese)iso-8859-4 (Baltic Rim)iso-8859-5 (Cyrillic)iso-8859-6-i (Arabic)iso-8859-7 (Greek)iso-8859-8-i (Hebrew)iso-8859-9 (Turkish)iso-8859-10 (Latin 6)iso-8859-13 (Latin 7)iso-8859-14 (Celtic)iso-8859-15 (Latin 9)us-ascii (basic English)euc-jp (Japanese, Unix)shift_jis (Japanese, Win/Mac)iso-2022-jp (Japanese, email)euc-kr (Korean)gb2312 (Chinese, simplified)big5 (Chinese, traditional)tis-620 (Thai)koi8-r (Russian)koi8-u (Ukrainian)macintosh (MacRoman)windows-1250 (Central Europe)windows-1251 (Cyrillic)windows-1252 (Western Europe)windows-1253 (Greek)windows-1254 (Turkish)windows-1255 (Hebrew)windows-1256 (Arabic)windows-1257 (Baltic Rim) Current Doctype: HTML 4.0 Frameset Select Doctype: (detect automatically)XHTML 1.0 StrictXHTML 1.0 TransitionalXHTML 1.0 FramesetHTML 4.01 StrictHTML 4.01 TransitionalHTML 4.01 FramesetHTML 3.2HTML 2.0 Options: Show Source Outline Parse Tree ...no attributes Below are the results of attempting to parse this document with an SGML parser. a.. Line 11, column 5: <body> ^ Error: element "BODY" not allowed here; check which elements this element may be contained within b.. Line 15, column 6: </html> ^ Error: missing a required sub-element of "HTML" -------------------------------------------------------------------------------- Sorry, this document does not validate as HTML 4.0 Frameset. If you use CSS in your document, you should also check it for validity using the W3C CSS Validation Service. -------------------------------------------------------------------------------- Source Listing Below is the source input I used for this validation: 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN" "http://www.w3.org/TR/REC-html40/frameset.dtd"> 2: 3: <html> 4: 5: <head> 6: <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 7: <meta name="Author" content="Paul C. Stanley"> 8: <title>Test Page</title> 9: </head> 10: 11: <body> 12: <p>test text</p> 13: </body> 14: 15: </html> Gerald Oskoboiny Last modified: Date: 2001/09/14 04:13:13
Attachments
- application/octet-stream attachment: w3c_home
- application/octet-stream attachment: valid-html401
Received on Thursday, 14 February 2002 16:42:51 UTC