Recommendations for URLs

Depending on your goals, some or all of the following URL-programming recommended practices may apply to your situation:

  • Ensure that your URLs do not include spaces. For example, if you use JavaScript for a post declaration, you must convert any spaces into the %20 form. (If you enter values using the get technique, the Web browser handles this encoding for you.)

  • Use the equal sign (=) followed by a single-quotation-mark-enclosed space when submitting empty form variables to accommodate the notational requirements of all web servers. For example, to end a complex type array in a post declaration, use the following syntax: ...name='EA' value=' '/>

  • Use &backURL= syntax to specify the URL location to return to, when users click Return in their output window.

Tip: To avoid launching a new browser window, you can specify a target name of "_self" as an attribute of the <a> anchor tag.