W3C home > Mailing lists > Public > www-validator@w3.org > February 2002

Newbie just getting his feet wet...

From: Paul Stanley <pauls@cox-internet.com>
Date: Thu, 14 Feb 2002 14:40:12 -0600
Message-ID: <000d01c1b597$cd449e80$6401a8c0@coxinternet.com>
To: <www-validator@w3.org>
I'm only just beginning to immerse myself in the wonderful world of web programming.

I really like the idea that a tool like this exists. Over time, I hope I can make a useful contribution to the effort.

Pardon my temporary need for instruction from my betters, but why does the following not parse?

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 4, column 5: 
           <html>
       ^
Error: element "HTML" not allowed here; check which elements this element may be contained within 

  a.. Line 6, column 5: 
           <body>
       ^
Error: element "BODY" not allowed here; check which elements this element may be contained within 

  a.. Line 10, column 6: 
           </html>
        ^
Error: missing a required sub-element of "HTML" 

  a.. Line 10, column 8: 
           </html>
          ^
Error: "HEAD" not finished but document ended 

  a.. Line 10, column 8: 
           </html>
          ^
Error: "HTML" not finished but document ended 


--------------------------------------------------------------------------------

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: <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   3: 
   4: <html>
   5: 
   6: <body>
   7: 
   8: </body>
   9: 
  10: </html>
Gerald Oskoboiny
Last modified: Date: 2001/09/14 04:13:13 



clip_image001.gif
(image/gif attachment: clip_image001.gif)

clip_image002.gif
(image/gif attachment: clip_image002.gif)

Received on Thursday, 14 February 2002 15:44:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:00 GMT