Question:
is html a scripting language?
?
2012-09-03 21:58:22 UTC
can anybody tell is html a scripting language?
Ten answers:
Prashant
2012-09-03 23:49:06 UTC
No HTML is markup language.
►Mr.Guru◄
2012-09-03 23:38:57 UTC
Short answer: no.

=============

Yes a nerd detail, but nonetheless, this is something that should be made clear.



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.



Markup languages create structure for a document … they only describe data. For example:

- HTML

- XHTML

- XML



Scripting language is

================

A high-level programming language that is interpreted by another program at runtime rather than compiled by the computer's processor as other programming languages (such as C and C++) are. Scripting languages, which can be embedded within HTML, commonly are used to add functionality to a Web page, such as different menu styles or graphic displays or to serve dynamic advertisements. These types of languages are client-side scripting languages, affecting the data that the end user sees in a browser window. Other scripting languages are server-side scripting languages that manipulate the data, usually in a database, on the server.



Scripting languages came about largely because of the development of the Internet as a communications tool. JavaScript, ASP, JSP, PHP, Perl, Tcl and Python are examples of scripting languages.
2016-04-06 03:04:41 UTC
For the best answers, search on this site https://shorturl.im/avKMt



HTML is considered a scripting language because it is used to execute scripts that are interpreted by a program. A scripting language is basically a set of commands that tell a another program what to do (in this instance html tells the browser program what and how to display the webpage). Hopefully that makes sense. EDIT: I noticed the thumbs down. Do your homework people. I don't consider HTML a scripting language either but it IS in fact a scripting language like it or not.
keerok
2012-09-03 22:08:41 UTC
HTML stands for HyperText Markup Language. No, not script.
2012-09-05 00:33:58 UTC
No, HTML is a markup language not a scripting language. It is basically a hypertext markup language or a basic language used to create web pages only. It is the code that tells the web browser how to interpret a web page.



Markup languages create structure for a document, they only describe data. For example:

HTML

XHTML

XML
Amy
2012-09-03 22:07:56 UTC
No HTML is markup language and Java Script is scripting language.
2012-09-05 10:59:47 UTC
No, html is hyper text markup language.

Javascript is a scripting language.
green meklar
2012-09-04 15:42:35 UTC
It isn't a programming language at all, it's a markup language.



That said, it is interpreted dynamically, like a scripting language.
Kazuki
2012-09-03 22:09:37 UTC
It's a markup language like XML, and thus it's declarative.



It describes the result it wants the computer to achieve, not how it's achieved (that's what an imperative lanugage does, a lot of scripting languages are imperative).
2012-09-03 22:00:55 UTC
No, HTML or XHTML is a markup language.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...