Netscape Beta & Backgrounds

Peter C. Gorman pcgorman at facstaff.wisc.edu
Wed Nov 8 09:47:09 EST 1995


Quoting from the HTML specs:

-----
The value of the attribute may be either:

    1.A string literal, delimited by single quotes or double quotes
    2.A name token (a sequence of letters, digits, periods, or hyphens)
-----

This applies for *all* attributes, not just HREF. The general rule is if
the attribute value (in this case, a URL) contains any character not
mentioned in #2 above, put the entire value in quotes. The offending
characters in a URL are the colon and slash.

As was mentioned previously, browsers are going to be getting pickier about
the markup they'll accept. Time to tighten up our code!

Now, if they'll just start using Accept: headers correctly...


PG
_______________________________
Peter C. Gorman
Automation Help Desk
Memorial Library
University of Wisconsin
pcgorman at facstaff.wisc.edu




More information about the Web4lib mailing list