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