Jack wrote Right, but please see my reply to Nancy. I wondered if there was a character-set that would allow the server to ignore just a portion of a line of html, as in, for example: The quick brown fox jumped <<under>>over the lazy dog’s back,
where all content between << . . . >> would be ignored.
Is there an ‘ignore' character set, that one can use ‘inline’, in place of ‘<<' . . . '>>’ above? Best, jwc |
Either of the options I mention will work, with html comments...
<div>
<p>Some text goes here<!-- this is commented out--> and the rest goes here</p>
</div>
<!-- <div>this div is hidden</div> -->
(which displays exactly as above for someone viewing the source) or with php comments...
<div>
<p>Some text goes here<?php /* this is commented out */ ?> and the rest goes here</p>
</div>
<?php /* <div>this div is hidden</div> */ ?>
Which I like better, because it displays as...
<div>
<p>Some text goes here and the rest goes here</p>
...when the source is viewed. Nobody can see what code, portion of a line, block of text or notation you're using by viewing your source, php comments never make it to the viewer's browser.