answersLogoWhite

0

Javascript uses C-style comments, for block comments (multiline) use:

/*

comments go anywhere in here

*/

for short one line comments use double-slash:

// this is also a comment

User Avatar

Wiki User

∙ 15y ago
User Avatar

What else can I help you with?

Related Questions

How do you add HTML tag within javascript?

Unless it is in a comment, you can't


How do you get a working comment box on your website?

To get a working comment/feedback box, you will need to use the programming languages HTML and Javascript (javascript is widely used for forms)


What is the correct JavaScript syntax to insert a comment that has more than one line?

The proper syntax to insert a multi-line comment into JavaScript is to surround the comment with /* and */ function useless() { /* This function doesn't do anything We should come back to it. Soon. */ }


What HTML lines are used to hide javascript from older browsers?

The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are The comment tags which are


How do you add a comment to a discussion?

If you are asking about posting a comment in Facebook under the main status or picture is an add comment box, put your comment there. In other forums make sure you are a member of the forum and at the end of the discussion there is usually a box for you to add you comment.


What hides JavaScript code from browsers and web devices that do not interpret the code correctly?

For very old devices that aren't able to interpret JavaScript you can hide the script by adding the HTML comment block around the script. To keep this block of interfering with the script itself, you have to use JavaScript comment code to the end of the HTML comment block as well.Here's how.This technique is almost never employed anymore. The browsers that don't support JavaScript natively are that old.


Where is the new comment section located in Excel?

The question is not clear. To add a comment to a cell, right-click on the cell and select the add comment option.


State the difference between comments in HTML and javascript?

HTML:Comment start: Javascript:Use // to comment a single line or /* */ to comment 1 or more lines. For example:// comment a single line/* Everything between these is a comment.Can span multiple lines. */


Is there a noscript add-on for chrome or annother easy to use javascript blocker add-on?

Unfortunately, Chrome does not have any way to disable Javascript, nor does it appear to be planned for "any time soon".


How does you call javascript file in css?

In your HTML add in the tags


How do you add a comment within the head tags?

<!-- Comment Goes Here -->


How can one add a comment box to their website?

One can add a comment box to their website by following the advice on the website "Yola". Yola contains easy to read instructions on how to add a comment box to one's website.

Trending Questions
Uuu codes for the amino acid phenylalanine in humans and bacteria Theis is due to which property of the Genetic code? Why local oscillator frequency are higher than signal frequency? What is primary device? What is the difference between a one fourth inch air compressor hose and a three eighth inch air compressor hose? How are engineers using wind turbines in the modern world Some fud be a hero and tell is? Why concrete is reinforced with steel rods and not brass rods? Write a program with a loop that lets the user enter a series of integers the user should enter -99 to signal the end of the series after the program should display the largest and smallest.? What are limitations for continuous casting? The science of shaping objects so they allow the easy flow of fluids around them to reduce drag is? How to Draw a rotating wheel Using c graphics programme code? What is the maximum modulus of 3 bit counter? What are the early uses of nylon? For a B tech computer science student which stream is best in MBA? What is data that has been processed called? What should be the last source to consider when trying to fulfill a requirement for supplies? How do superbugs develop? What do you call java and javascript? What size motor overloads to put on a 3 phase motor.i how to go about to calculate this. its a 5 HP Motor208-230 volt12.9amp at 208SF1.25 SFA 16.1. the motor is a outdoor motor replacing and old o? What is printing from a raised surface? How do you build an earthquake resistant paper building out of 12 note cards 1 piece of paper and 6 paper clips Like what design and shape?