Date: Thu, 26 Dec 2002 16:36:05 +0000 From: Hiten Pandya <hiten@unixdaemons.com> To: "Greg 'groggy' Lehey" <grog@FreeBSD.org> Cc: freebsd-doc@FreeBSD.org, Farhad Saberi <farhad.saberi@mail.mcgill.ca> Subject: Re: Bad vinum html page Message-ID: <3E0B2FF5.30505@unixdaemons.com>
next in thread | raw e-mail | index | archive | help
--- Greg 'groggy' Lehey <grog@FreeBSD.org> wrote: > Hmm, interesting. Yes, I've seen this too, but only with the > > original web page. When I download it and put it and the images > in a file, it works fine. > > It seems to be OK with just about any other browser. I've taken a > look at the source, and note tags I've never seen before, such as > div. According to my dated HTML book, only Netscape supports this > tag--possibly differently? I note that Emacs thinks that the > source is SGML ... Last time I checked, DIV tags work best on IE, and Opera; although Netscape 6 supports them well, i.e. the page in question works well on Netscape 6+. Netscape 4.9 is from the time when DIV tags were only used extensively on "IE only" sites; but now its part of the HTML standard. The page in question is: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > can't work out what kind of document it is, so it's probably worth > somebody with more SGML-foo than me to put some effort into making > the pages standards-compliant. I am surprised why the validator doesn't pick this up. If you explicitily select `HTML 4.01 Transistional' from the option box (http://validator.w3.org/), then it shows 12 errors, all to do with URLs of type: "http://www.FreeBSD.org/cgi/man.cgi?query=vinum&sektion=8" This can be solved by using single quotes e.g: <a href='...'>, because the &sektion is thought of as an entity by the parser. Either that, or the validator is broken -- which is very unlikely. On that note, it makes me wonder why we use `sektion' and not 'section'? :-) One more thing, we should encode the document char-set type, so that the validator can work with our documents: <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> Cheers. -- Hiten hiten@unixdaemons.com, hiten@uk.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E0B2FF5.30505>