HTML Comments

B Prasad@bpra
24 Posts
#1 · November 7, 2023, 7:41 pm
Quote from B Prasad on November 7, 2023, 7:41 pmHTML Comments:
The comment tags <!– and –> are used to insert comments in HTML file.
Example:
<p>This is a paragraph.</p>
<!– Add your comment here. –>
<!– Do not display this at the moment
<img border=”0″ src=”abcfile.jpg” alt=”Name”>
–>
Conditional Comments:
<!–[if IE 8]>
…. some HTML coding here if you want ….
<![endif]–>
HTML Comments:
The comment tags <!– and –> are used to insert comments in HTML file.
Example:
<p>This is a paragraph.</p>
<!– Add your comment here. –>
<!– Do not display this at the moment
<img border=”0″ src=”abcfile.jpg” alt=”Name”>
–>
Conditional Comments:
<!–[if IE 8]>
…. some HTML coding here if you want ….
<![endif]–>
Click for thumbs down.0Click for thumbs up.0