How to create gift without javascript?

Asked

Viewed 92 times

1

I wonder if a web browser, as well as firefox, Chrome etc uses javascript to make gift in html! So, is it javascript that does the gift in html? Like this, when the browser does the rendering it does the right gift? This gift is done with javascript?

1 answer

1

The explanation of DOM (in Portuguese) na MDN is good. Taking excerpts from there:

The Document Object Model (DOM) is a programming interface for HTML, XML and SVG documents.
[...]
Although DOM is often accessed using Javascript, it is not a part of the Javascript language. It can also be accessed by other languages.

There is another interesting article in W3C (in English) where it says:

As a W3C Specification, one Important objective for the Document Object Model is to provide a standard Programming interface that can be used in a wide Variety of Environments and Applications.

that is, in terms of summary "can be used in various environments and applications". And later refer "In addition to the OMG IDL Specification, we provide language bindings for Java and Ecmascript."

If we take into account that in the browser it is common to use Javascript to manipulate the DOM, this is not the only language that can manipulate the DOM, in the desktop or mobile browser.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.