Mystery of the Missing HTML

April 3rd, 2006

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.

  1. HTML Mystery
  2. Mystery of the Missing HTML: Solution
  3. Red Links on Webpages - Avoid them?
  4. The mystery of the zero byte image
  5. Javascript Image Effects

2 Responses to “Mystery of the Missing HTML”

  1. Rambleon 03 Apr 2006 at 8:06 pm

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

  2. Justinon 03 Apr 2006 at 9:27 pm

    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&nbsp;

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

Trackback URI | Comments RSS

Leave a Reply