[ Jump to content. Jump to navigation. ]

Drowning in <P>

Tue 25 Nov 2003 9:26:43

printf("<img src=photos/%s><br>%s<p>\n", ....);

See the unquoted src attribute? The missing alt attribute? The unterminated <br>? The <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>?")

Categories:
Tags:

1 Comment

hey at least they're not in caps also. :)

Leave a comment