View Full Version : comment tag issues

05-30-2012, 02:47 PM

05-30-2012, 02:59 PM
what is the difference between <!-- comment --> and /* comment */ ?
<!-- comment --> is used in HTML documents to comment one or more lines from it.

If you need to comment some lines in a CSS file or inside <style></style> tag, you should use /* comment */. It can also be used in some other languages like C, PHP, javascript etc.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum