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 Greg N. on 11/12/24 11:23

Jedi Fans wrote:
> Toby Inkster wrote:
>
>> Herbert Gerstinger wrote:
>>
>>> <div align=center>
>>> <img src="pic.jpg">
>>> <br>My very long text
>>> </div>
>>
>>
>> <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.
>> </div>
>>
> 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>
>
I think the quotes are only needed around strings with non-alphanumeric
stuff. Iirc, this passes as strict:

> <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>

--
Gregor's Motorradreisen:
http://hothaus.de/greg-tour/

 

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

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