Re: Re: Reducing size of htm output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



M. Sokolewicz wrote:

> Rory Browne wrote:
>
>> What might be more useful is stripping out comments, If you don't use
>> javascript it is simply a case of replacing all <!-- anything --> with
>> a blank space. If you do though it's more complicated since it is
>> considered good practice to place js inside <!-- .. //--> blocks,
>
>
> excuse me? since when is this considered /good/ practice???
> It's one of those things that are concidered /bad/ practice according to w3...



Interesting. On a page titled "W3C Recommendations" I must be misinterpreting the W3C's examples of hiding scripts from browsers ...


http://www.w3.org/TR/REC-html40/interact/scripts.html#h-18.3.2

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux