[WEB4LIB] Re: Hard hyphen and HTML validation
Kevin Bishop
bishopk at rpi.edu
Tue Oct 29 18:53:23 EST 2002
Ampersands and non-breaking/hard hyphens -- and other characters,
symbols and elements of the HTML document character set -- should be
rendered using HTML character entities or their numeric equivalents
(e.g., & or & and — [em dash] respectively).
You'll find a collection here for HTML 4.01:
http://www.w3.org/TR/REC-html40/sgml/entities.html
Search www.w3.org for more ...
Hope this helps.
-kb
_________________________________
Kevin W. Bishop > bishopk at rpi.edu
Communication & Collaboration Technologies
Rensselaer Polytechnic Institute
RPInfo: http://www.rpi.edu/rpinfo/
Kiosk: http://j2ee.rpi.edu:8080/kiosk/
> -----Original Message-----
> From: web4lib at webjunction.org
> [mailto:web4lib at webjunction.org] On Behalf Of Robert Sullivan
> Sent: Tuesday, October 29, 2002 6:33 PM
> To: Multiple recipients of list
> Subject: [WEB4LIB] Re: Hard hyphen and HTML validation
>
>
> > OTOH, I probably shouldn't worry too much about those validation
> > errors. I have come to the realization that some of our pages will
> > *always* produce coding errors because of ampersands or
> other unusual
> > characters that are a part of some of our database URL's.
>
> Actually, if you convert & to & they validate properly.
> (Thanks to Web4Lib for informing me of this.)
>
> Bob Sullivan
> Schenectady County Public Library (NY) <http://www.scpl.org>
>
>
>
More information about the Web4lib
mailing list