Skip to main content

A full website in only 20 lines of code - how not to do it

The Fairydown Ltd home page has to be one of the smallest pieces of HTML code you've ever seen for a commercial, live and best-foot-forward website.

20 lines, and that includes the blank ones.
Here it is in all it's glory:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Fairydown Ltd</title>
<style type="text/css">
.style1 {
text-align: center;
}
</style>
</head>

<body style="background-color: #000000">

<p class="style1"><img alt="" src="image4.jpg.jpg" width="1134" height="1323" /></p>

</body>

</html>

And that's it in all it's glory ... have you spotted how they managed to have all the words and nice logo and everything displayed, the whole thing is ONE big graphic ... and it doesn't even have an ALT value.

The ultimate in "brochure site" I s'pose.
I did look for an email address as I'd knocked up some code (and even chopped up the graphic) that would stop the howls of laughter but I couldn't find one, oh well.

h/t to Phil for first noticing this

Comments

  1. Well strictly speaking I guess it's more representative to say that it's a 516 byte page which pulls down a 219 kilobyte image. (But I imagine you were fully aware of that.)

    If they're like me and run a Google Alerts notifier on blog mentions of 'Fairydown', maybe they'll see your post and fix it (or at least give it an ALT tag), but I wouldn't count on it.

    [Sigh] I preferred the old Fairydown.

    ReplyDelete
  2. @izogi - true about the actual size, I s'pose it's one of the smallest home pages going. Hmm, don't hold out much hope of them having a Google Alert set-up ... but I could be pleasantly surprised.

    @anthony ... heh, even better - no spurious 'style' tags used this time, straight HTML code. At least they have an email address to use and it's linked to clicking on the image ... I s'pose ;~)

    I s'pose it's all about using the web as YOU want and stuff the readers - the opposite of "Whoever pays for your information, owns it"

    ReplyDelete
  3. Goodness me... ew. How the hell does that heppen???

    ReplyDelete

Post a Comment