• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Reserved Words

Reserved Words

When you are creating CSS class, CSS ID, or JavaScript variable names, keep in mind that the browser has dibs on certain words. I recommend not using these.

That said, it is OK to combine different words to form compound words, even if both words are on the reserved list. Although new and label would not make good variable names, for example, newLabel would be fine.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint