|
Posted by M. Sokolewicz on 10/21/46 11:14
Ken wrote:
> On 4/26/05, Mario de Frutos Dieguez <marfru@cartif.es> wrote:
>
>>Andri Heryandi escribió:
>>
>>
>>>Use echo "something <br>";
>>>
>>>is that what you mean?
>>>
>>>
>>>Mario de Frutos Dieguez wrote:
>>>
>>>
>>>>How can i make a line feed in a echo instruction? like printf("foo\n");
>>>>
>>>
>>yes that's it thx
>>
>>--
>>Mario de Frutos Dieguez
>>
>>División de Ingeniería del Software
>>y Comunicaciones
>>
>>CARTIF -Parque Tecnológico Boecillo
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
> in that case i suggest using <br /> instead as that is valid xhtml 1.0.
that would depend on the DTD header you provide. If you provide an HTML
=< 4.01 line, then <br /> is syntactically incorrect. However, when
using XHTML 1.0+ or XML, it's correct.
Remember that the internal closing of a tag is something that is an
add-on to SGML, and part of XML. Since HTML is derived from SGML, and
not XML it doesn't have that ability natively; as for XHTML, which is
based on both, it's possible to use it; and advised obviously ;)
Navigation:
[Reply to this message]
|