Mystery of the Missing HTML

Here's a little challenge for the web developers among you!

I've developed a little webpage which contains absolutely nothing apart from a HTML comment. Yet this page isn't blank as you may expect – it's got text, images and rollover effects. The question is, how is it done?

View Page 

You need to be using Mozilla Firefox or Opera 9 to view the demo.

Note: This challenge was originally developed 6 months ago but I have decided to post it again as the readership of the blog has increased significantly and I feel this may be of interest to readers.

2 thoughts on “Mystery of the Missing HTML

  1. Bet you sent a special html header using php which linked to a stylsheet which allowed you to insert images and text.

  2. The answers below (only look if you can't figure it out on your own.. i don't want to ruin the answer for anyone.)

     —

    If you look at the response headers for the page you will see the following line:

    Link: <nocode.css>; REL="stylesheet"; MEDIA="screen"

     

    The css file that this calls then displays everything you see on that page.

    http://cow.neondragon.net/stuff/nocode.css 

    (Heh, perhaps a spoiler tag is needed for your mysteries like this?) 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>