Reply to Re: img tag in XHTML strict

Your name:

Reply:


Posted by Jukka K. Korpela on 01/14/06 01:43

Els <els.aNOSPAM@tiscali.nl> wrote:

> If you just enclose your entire page in one div, it might save you
> some code, depending on how many loose images you have in it.

You save more code by using HTML 4.01 Transitional, which allows "loose"
content inside body and does not require all end tags.

If you wish to comply with a Strict DOCTYPE, then it's rather pointless to
use <body><div>...</div></body>, since the _idea_ in Strict is to put text
and inline markup inside _suitable_ blocks. If you don't care about the idea,
you could use Transitional, which does not require the pointless
<div> and </div> tags.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

[Back to original 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

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