in reply to Re^5: Understanding this particular Regex.
in thread Understanding this particular Regex.
<table width = 347> is valid HTML. <table width="347px"> is invalid.
The px unit is part of CSS; not HTML. In HTML, all sizes are expressed as either percentages, or a number which is implicitly in pixels. (Except <font size> where the number has its own special brand of craziness.)
I agree that there's a lot of invalid HTML out there, and certain older browsers encouraged it, but the OP's example is valid (albeit unidiomatic) HTML.
|
|---|