English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

What can javascript do that html can't? What is a scripting language?

2006-09-04 13:21:09 · 3 answers · asked by going123sold 2 in Computers & Internet Programming & Design

3 answers

HTML just presents information. That's why it's called "markup language" because all you're doing is marking up text in meaningful ways.

Therefore, HTML cannot be interactive. Interactivity is accomplished through Javascript. Javascript can change elements of the page around when different events such as mouse clicks or a page loading occur within the browser.

A scripting language in general is an interpretted language that operators in the framework of another program. In this case, it operates within the web browser.

2006-09-04 13:27:04 · answer #1 · answered by flipturn2001 2 · 0 0

Make things on the page change after it has already appeared in a browser window.

Colors, text, pictures, positions can change based on time or user actions. Forms can be validated on the client instead of the server. Javascript can set cookies.

2006-09-04 22:19:51 · answer #2 · answered by LorettoBoy 4 · 0 0

dynamic functions.

2006-09-04 20:23:54 · answer #3 · answered by WORLD CLASS 3 · 0 0

fedest.com, questions and answers