printf("<img src=photos/%s><br>%s<p>n", ....);
See the unquoted
src attribute? The missing
alt attribute? The unterminated
<p> tag used as a spacer? All in a single line. Code like that is thrown my way everyday, and I clean it up. It’s kind of fun.
(Title of this post is a direct conceptual rip from Zeldman’s older article on web standards, “Why Does It Hurt When I <P>?”)