Reference – Language
Loops
With control structures, you can make the output depend on certain conditions. A distinction is made between branches with if or switch and the foreach loop.
The following HTML source code is generated:
Iterating with a foreach loop is possible with strings, lists, and maps.
