THE DETAILS: HTML is actually a markup language and not a scripting language. Scripting implies decision making capabilities (the code can actually evaluate and take an action based on what it finds) – PHP, PERL, Ruby, Javascript are examples of scripting languages.
How does script work HTML?
The SCRIPT element places a script within a document. This element may appear any number of times in the HEAD or BODY of an HTML document. ... If the src attribute is not set, user agents must interpret the contents of the element as the script.
What script language is used for HTML?
HTML can embed programs written in a scripting language such as JavaScript, which affects the behavior and content of web pages.