You are here: Re: Text with automated line-breaks for a picture « HTML « IT news, forums, messages
Re: Text with automated line-breaks for a picture

Posted by Barbara de Zoete on 10/14/69 11:23

On Mon, 08 Aug 2005 15:36:17 +0200, Benjamin Niemann <pink@odahoda.de> wrote:

> Barbara de Zoete wrote:
>
>> On Mon, 08 Aug 2005 09:56:20 +0100, Jedi Fans
>> <"news[at]jedifans[-=dot=-]com"> wrote:
>>
>>> in proper html this would be:
>>> <div class="picturediv" style="width:200px;">
>>> <img src="my_picture.jpeg" alt="My Picture" width="200" height="160">
>>> <p>This is a caption for the picture above.</p>
>>> </div>
>>>
>>
>> That all depends on which DTD you use for your html document. With
>> transitional the "" are not needed,
>
> This has nothing to do with strict vs. transitional. You can always omit the
> quotes around attribute values (in HTML not XHTML), if the value only
> contains characters a..z, A..Z, 0..9, and -_.:
> See http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2
>
>> neither is the close tag for the paragraph element.
>
> Which is true for HTML 4.01 strict, too.
>
> Are you confusing HTML strict with XHTML?
>

No, I'm not. It was only an example. Not a comparison.

--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'

 

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

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