From owner-freebsd-questions Wed Sep 23 07:38:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA05950 for freebsd-questions-outgoing; Wed, 23 Sep 1998 07:38:48 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA05909 for ; Wed, 23 Sep 1998 07:38:31 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.1/8.9.1) id JAA10714; Wed, 23 Sep 1998 09:38:00 -0500 (CDT) Date: Wed, 23 Sep 1998 09:38:00 -0500 From: Dan Nelson To: groggy@iname.com, freebsd-questions Subject: Re: lynx html Message-ID: <19980923093800.A10645@emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.3i In-Reply-To: ; from "groggy@iname.com" on Tue Sep 22 12:42:05 GMT 1998 X-OS: FreeBSD 2.2.7-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Sep 22), groggy@iname.com said: > here is a good example of what my problems were. try this HTML > document in lynx 2.8 ... then try it in any other browser. _FIRST_, run it through an html validator such as the one at http://validator.w3.org/ . I've pasted in the analysis of your page (I fixed your typo on line 8 before sending it). Just because it displays in Netscape does not mean it is valid HTML. In fact, I'd like to see Netscape add syntax-checking like this to its browser, and maybe put a little red X in the corner of the page if the page has problems. -Dan Nelson dnelson@emsphone.com Note: This document didn't start with the required DOCTYPE declaration, so validator inserted the following doctype before attempting to validate the page: This document needs a doctype before it will be valid. 01> This is a TEST! 02> 03> HEY! WHAT IS THE DIFFERENCE! 04> 05>
a bb  ccc   dddd    eeeee     ffffff
06>
a bb ccc dddd eeeee ffffff
^ document type does not allow element "CENTER" here 07> 08>

HEY! WHY IS THIS CENTERED!

09> aaa 10> bbb 11> ccc 12> ddd 13> eee 14>
15> 

HEY! WHERE IS MY WHITESPACE!

^ document type does not allow element "H1" here 16> aaa 17> bbb 18> ccc 19> ddd 20> eee 21>
Sorry, this document does not validate as HTML 3.2. ** Weblint Results Below are the results of running Weblint on this document: line 1: outer tags should be .. . line 1: can only appear in the HEAD element. line 5: <CENTER> is extended markup. line 5: </CENTER> is extended markup. line 6: <CENTER> is extended markup. line 6: </CENTER> is extended markup. expected tag(s) not seen: HEAD BODY ** Outline Below is an outline for this document, automatically generated from the heading tags (<H1> through <H6>.) HEY! WHY IS THIS CENTERED! HEY! WHERE IS MY WHITESPACE! If this doesn't look like a real outline, it is likely that the heading tags are not being used properly. (Headings should reflect the logical structure of the document; they should _not_ be used simply to add emphasis, or to change the font size.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message