Here's the same thing done with a compiled executable using the padding bits in an ELF file.
http://cs.unm.edu/~eschulte/data/webpage.html
download webpage.html and it should run on any 64-bit linux machine as an executable printing out the same text shown on the web page. Here's the C file used to compile the original executable, nothing exciting...