Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 03-04-2010, 02:30 PM   #1
Platinum Member
 
anna's Avatar
 
Join Date: Jul 2009
Location: Michigan
Posts: 501
Default very stupid comment question

Good morning everyone,

I have a very rudimentary question; what is the difference between these comments? <!-- blah blah --> and /* blah blah */

Thank you...
anna is offline   Reply With Quote


Old 03-04-2010, 09:37 PM   #2
Bronze Member
 
Join Date: Jul 2008
Location: Illinois
Posts: 85
Default

HTML and CSS
__________________
Darren Fox
Small Business Web Design
darrenfox is offline   Reply With Quote
Old 03-05-2010, 08:02 AM   #3
Silver Member
 
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 108
Default

You can add

//Whole line commented

Which is for PHP.
__________________
Nerdrage
Mezangath Web
mezangath is offline   Reply With Quote
Old 03-05-2010, 07:14 PM   #4
Platinum Member
 
anna's Avatar
 
Join Date: Jul 2009
Location: Michigan
Posts: 501
Default

Yep, I knew it was a stupid question. Makes total sense- thank you for enlightenment!
anna is offline   Reply With Quote
Old 03-09-2010, 03:20 PM   #5
Super Moderator
 
Join Date: Oct 2008
Location: Arizona, USA
Posts: 1,050
Default

/* */
FYI, these can be used in both CSS and PHP for block commenting.
__________________
John Darling
Graphic / Web Designer
SmarterTools Inc.
(877) 357-6278
www.smartertools.com
PixelPusher is offline   Reply With Quote


Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:59 PM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.