[RESOLVED] Dumb Easy Quesion
Is there a tag in html for commenting code out? Something like the ones for JavaScript.
I searched but didnt find anything.
Thanks
Code:
'...
<tr valign="top">
<td style="width: 10px"> </td>
<td style="width: 482px;"> </td>
<td style="width: 120px;"> </td>
</tr>
//--Comment?
<tr valign="top">
<td style="width: 10px"> </td>
<td style="width: 482px;"> </td>
<td style="width: 120px;"> </td>
</tr>--//end commented code
Re: [RESOLVED] Dumb Easy Quesion
You're welcome. :)
When I get stuck on this vb.net jabber, i'll be needing your expertise, which will probably be the equivilent of how to comment code :p
Re: [RESOLVED] Dumb Easy Quesion
The <!-- inside the script tags is merely a trick to hide the JavaScript from browsers that don't understand the script tag (basically none nowadays - even those that can't do JS recognize and ignore the tag), so that the content doesn't get displayed.
Of course, in XHTML this is a bad idea, because the parser may (and often will) throw away comments without forwarding them to the application - so the browser never sees the JS code.