Re: Standards compliance (HTML)

From: Gary L. Scott (garyscott_at_ev1.net)
Date: 07/22/04


Date: Wed, 21 Jul 2004 19:20:29 -0500

David Ham wrote:
>
> On Wed, 21 Jul 2004 15:18:30 GMT
> "James Van Buskirk" <not_valid@comcast.net> wrote:
>
> > "David Ham" <d.a.ham@citg.tudelft.nl> wrote in message
> > news:20040721112535.59e902b3.d.a.ham@citg.tudelft.nl...
> >
> > > On Tue, 20 Jul 2004 19:40:05 GMT
> > > "James Van Buskirk" <not_valid@comcast.net> wrote:
> >
> > > Umm, I think it did. I checked. The message which the system
> > > produced was
> > > that the page was tentatively valid subject to a correct character
> > > encoding. Character encoding is usually specified by the web server
> > > in the http headers so I didn't fix it. Providing the information in
> > > a meta element is, of course, also OK.
> >
> > The validator said that I was supposed to put a file whose name
> > started with a period in my directory to fix the error but my
> > ISP doesn't permit that.
> >
>
> I suspect that you managed to click through to something which told you
> how to fix it in Apache using the .htaccess file. Apache is fairly
> unixish even when running on Windows. If your ISP uses something else
> (eg IIS) then that won't apply. Anyway, using the meta element is
> always fine.
>
> > > > write(11,'(a)') '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
> > > > Transitional//EN">'
> > > ^
> > > The transitional DTD is deprecated (by W3C) for new work.
> >
> > Jeez, this is like java... everything is deprecated.
> >
>
> Yes. I think early versions of html were done in a fairly haphazard
> way and a lot of structural markup and presentational stuff got mixed
> up. html 4.0 was an attempt to clean up html and to line up with current
> thinking in markup.

HTML didn't even line up with 1970's era thinking about markup. GML
although proprietary, was much better thought out. Unfortunately for
it, it was too flexible.

> As a result, there's an awful lot of older stuff
> which is deprecated.
>
> > > > write(11,'(a)')
> > > > '<title>&#1076&#1086&#1082&#1091&#1084&#1077&#1085&#1090</title>'
> > >
> > > ^
> > > That bit is quite cool, even if I can't read it.
> >
> > I was kind of curious about the above. MSIE displays this title
> > just fine, but am I really supposed to terminate each number with
> > a semicolon? As in:
> >
> > '<title>&#1076;&#1086;&#1082;&#1091;&#1084;&#1077;&#1085;&#1090;</tit
> > le>'
> >
> > > > write(11,'(a)') '<font face="Courier New">'
> > > ^
> > > Font is one of those deprecated tags. We now have stylesheets for
> > > this. For a little page like this one, the simplest thing to do is
> > > chuck a style attribute in the body tag. eg :
> > >
> > > <body style="font-family:'Courier New',sans-serif">
> > >
> > > One of the advantages of this approach is that it does graceful
> > > fallover.
> >
> > The 'Doze default for everything is Arial, which is proportional,
> > sans-serif. If possible, I would prefer to fall back on
> > monospaced, serif font, like Courier (which I think comes with
> > a Mac.) The serifs need to be there to distinguish between 1Il
> > and I consider monospaced fonts to be much more readable, perhaps
> > due to habituation to punch card and line printer output.
>
> Ah, my bad. I thought courier was sans-serif. Anyway, the comment about
> fall back still applies.
>
> >
> > Well, thanks for your comments. We managed to get some Fortran
> > code posted to this thread in any case.
> >
>
> :-).
>
> David
>
> > --
> > write(*,*) transfer((/17.392111325966148d0,6.5794487871554595D-85, &
> > 6.0134700243160014d-154/),(/'x'/)); end
> >
> >

-- 
Gary Scott
mailto:garyscott@ev1.net
Fortran Library:  http://www.fortranlib.com
Support the Original G95 Project:  http://www.g95.org
-OR-
Support the GNU GFortran Project:  http://gcc.gnu.org/fortran/index.html
Why are there two?  God only knows.
Democracy is two wolves and a sheep, voting on what to eat for dinner...
Liberty is a well armed sheep contesting the vote. - Thomas Jefferson