Nice one! So is the trick that:
1. JPEG allows text comments
2. Browsers don't enforce correct HTML (alternatively, is "����JFIF,,��r<html>" correct HTML?)
3. And exif tools mostly work based on header & statistical analysis?
Or am I completely wrong here?