HTML and CSS Reference
In-Depth Information
We can improve this a little bit by requiring whitespace before the name, like so:
\w+[a-zA-Z]+=[^'"><\s]+
You may discover a few cases where the attribute value contained whitespace and was not quoted. Similarly,
you may find a few places where the initial quote is present but the closing quote is not. These are problematic,
and you need to fix them. Browsers do not always interpret these as you might expect, and different browsers
handle them differently. What makes no difference in Internet Explorer may cause Firefox to hide content and
vice versa.
Search WWH ::




Custom Search