An error in a script that occurs if you mistype a keyword, forget to close a multi-line command (such as DO … LOOP), or introduce a similar mistake. If a script includes a syntax error, the script will not execute and an error message is displayed as soon as the browser or server processes the page.
See also logic error and run-time error.