First Advantage of Script Languages

Script code can be embedded as plain text with other types of code, such as HTML, XML, and scripts written in different languages. The classic example of this is web scripting, in which you can mix scripts indifferent languages which provide functionality with HTML (a 'markup' language which handles presentation) and XML (another markup language that handles data structure) all in the same file. This mixture of plain-text script code, HTML, and XML can be downloaded very quickly into a web browser, at which time it is executed. While you can do this with a compiled language, such solutions are usually proprietary in nature and don't work in different brands of browsers.