Re: Standards compliance (HTML)

From: James Van Buskirk (not_valid_at_comcast.net)
Date: 07/21/04


Date: Wed, 21 Jul 2004 15:18:30 GMT


"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.

> > 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.

> > 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;</title>'

> > 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.

Well, thanks for your comments. We managed to get some Fortran
code posted to this thread in any case.

-- 
write(*,*) transfer((/17.392111325966148d0,6.5794487871554595D-85, &
6.0134700243160014d-154/),(/'x'/)); end