You are here: Shortest possible valid HTML document? « HTML « IT news, forums, messages
Shortest possible valid HTML document?

Posted by Stewart Gordon on 05/30/06 16:26

I've just been experimenting with creating the shortest possible HTML
document that passes validation. Here's what I've come up with:

----------
<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN"><title//s
----------

Of course, it's only valid given a character encoding in the HTTP
headers. And the W3C validator's direct input interface happens to
treat there as being one....

Further challenges:

1. Find a browser that renders this correctly!

2. Find the shortest valid code in each version of (X)HTML.

Stewart.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация