You are here: Re: trouble with echo <br /> « PHP Programming Language « IT news, forums, messages
Re: trouble with echo <br />

Posted by Tim Roberts on 12/06/05 07:39

"Khai" <middae*nospam*@*nO_Spam*hotmail.com> wrote:
>
>Ok - it seems that PHP has a Tidy library that tries to validate/repair
>html. Since <br /> is expected to have a <br>,

No, it's not. The close of a matching pair has the / at the beginning:
<p> </p>
The / at the end specifically means "this is a standalone tag that does not
have a closing mate". Thus, <br /> is quite correct.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

 

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

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