Using Defer Attribute gives extra time to the externally linked scripts to load, until the page completely loads. This is especially advantageous in case of Internet Explorer browser, the only one that currently supports a Defer. To add defer to the coding of the webpage, all you need to do is add defer="defer" in your
C Data Section to avoid Validation Errors
If you are faced with regular Validation Errors in the designing format of your webpage, then this simple tip will be a savior for you. Merely use C Data Section to end your coding; this will significantly decrease the validation errors you generally face. Visual Example
Avoiding Java Key words
There are several words that are reserved as Keywords by Java Script, that hamper the programming, designing, loading and processing of the webpage. By avoiding the Java Keywords in your script, and using other custom identifiers in their place, you can ensure smooth operation of any Java coded Webpage. Some of the common Java Script Keywords are listed below
Localized use of Variables
In any coding language, where multiple options are to be used on the same webpage, there is always a chance that the variable might be used by other codes for which it is not designed. This can be easily avoided, by localizing the use of variables for a particular operation or the function it has to perform. By localizing variables, you ensure that they are abolished as soon as the function is executed and cannot be used later by other codes.
Case Sensitive Custom Identifiers
All the custom identifiers used in Java Script Coding, are case sensitive and using different case for the same identifier in the code can create errors and operations glitches in the functioning of the webpage. So by avowing use of dual case in the code, you not only use formal and globally accepted form of identifiers but also ensure that you don't accidentally declare two different variables when you actually meant to create just one.