Earlier versions of the browsers required that HTML tag attributes were enclosed in double quotes. More recent browsers also allow the use of single quotes or even no quotes in some cases. This may be useful when enclosing fragments of JavaScript that contain quoted text strings.
| See also: | Attribute object, Attributes object |
| Prev | Home | Next |
| HTML.version | Up | HTTP-EQUIV="..." |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. | ||