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

Reserved Words

Reserved Words

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

That said, it’s OK to combine different words to form compound words, even if both words are on the reserved list. For example, although new and label would not make good variable names, 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