Syntax

say it: “SIN-taks” /ˈsɪntæks/

The rules that describe how code or markup must be written.

What is syntax?

Syntax is a language's spelling and grammar rules: where the brackets, quotes, colons and angle brackets go. It applies to programming languages and to markup such as HTML. Break a rule and the program won't run, or the page won't show the way you meant, until you fix it.

Level: Novice · More General terms at this level

Updated