Re: Standards compliance (HTML)

From: Richard Edgar (rge21_at_astro.su.se)
Date: 07/21/04


Date: Wed, 21 Jul 2004 17:53:49 +0200

James Van Buskirk wrote:

>>The transitional DTD is deprecated (by W3C) for new work.
>
> Jeez, this is like java... everything is deprecated.

That hardly stops you using the transitional DTD.

> but am I really supposed to terminate each number with
> a semicolon? As in:
>
> '<title>&#1076;&#1086;&#1082;&#1091;&#1084;&#1077;&#1085;&#1090;</title>'

Yes.

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

If you think that it should be a monospaced font, why don't you have
<body style="font-family: monospace;">

Richard


Quantcast