view source shows that he has an html document embedded in the jpeg.
Apparently, the jpeg format allows this.
Apparently, the jpeg format allows this.
What is surprising is that web browsers just ignore the 24 bytes of binary data between the start of the file and the start of the HTML.
Edit: Misread your comment...the bytes at the beginning of the file are hidden by CSS (as pointed out by others).
The browser actually picks that "text" up and shows it on page. It's just the html content itself contains some css rule to make that text not visible.
Neat hack.