In certain cases, authors may specify the value of an attribute without any quotation marks. The attribute value may only contain letters (a-z and A-Z), digits (0-9), hyphens (ASCII decimal 45), periods (ASCII decimal 46), underscores (ASCII decimal 95), and colons (ASCII decimal 58). We recommend using quotation marks even when it is possible to eliminate them.
Which is exactly what I was referring to. In
<a href = link>foo</a>
the attribute value contains only letters, and doesn't need quotes. Remember that HTML is an SGML application, and not an XML application.
Abigail
In reply to Re: RegEx for incorrectly closed HTML attribute?
by Abigail-II
in thread RegEx for incorrectly closed HTML attribute?
by Cody Pendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |