An exception caused by the incorrect use of a pre-defined syntax. Syntax errors are detected while compiling or parsing source code.

For example, if you leave off a closing brace (}) when defining a JavaScript function, you trigger a syntax error.  Browser development tools display JavaScript and CSS syntax errors in the console.

Learn more

General Knowledge

Document Tags and Contributors

 Last updated by: chrisdavidmills,