Re: WHICH HTML-CODE is better to use?

Arnoud (galactus@htmlhelp.com)
Thu, 10 Apr 1997 16:37:33 +0200


From: galactus@htmlhelp.com (Arnoud "Galactus" Engelfriet)
To: www-html@w3.org
Subject: Re: WHICH HTML-CODE is better to use?
Date: Thu, 10 Apr 1997 16:37:33 +0200
Message-ID: <tsPTz4uYORzF089yn@htmlhelp.com>

-----BEGIN PGP SIGNED MESSAGE-----

In article <334cdeb8.350903@news.xs4all.nl>,
jult@xs4all.DEL.ME.nl wrote:
> I have a question probably many of us like to have answered:
> Which one of these versions of the same html-code works fastest
> and WHY? ( I'm a perfectionist, so I'd really like to know, even if
> it's only about nano-sec's loading time! )
> 
> <A HREF="http://www.charliesangels.com/">CharliesAngels.com</A>
> <A HREF="http://www.charliesangels.com">CharliesAngels.com</A>

These are both legal. The starting / in such an URL is optional.

> <A HREF=http://www.charliesangels.com/>CharliesAngels.com</A>
> <A HREF=http://www.charliesangels.com>CharliesAngels.com</A>

Both invalid; the attribute value must be quoted, as it contains
characters other than letters, digits, periods and hyphens.

> <a href="http://www.charliesangels.com/">CharliesAngels.com</a>
> <a href="http://www.charliesangels.com">CharliesAngels.com</a>

Legal; tag names and attribute names are case insensitive.

> <a href=http://www.charliesangels.com/>CharliesAngels.com</a>
> <a href=http://www.charliesangels.com>CharliesAngels.com</a>

Invalid; attribute values must be quoted.

- -- 
E-mail: galactus@htmlhelp.com .................... PGP Key: 512/63B0E665
Maintainer of WDG's HTML reference: <http://www.htmlhelp.com/reference/>


-----END PGP SIGNED MESSAGE-----