Categories:

JavaScript Entities

JavaScript entities is a secretive and legacy feature supported ONLY in Netscape 4 and below that incorporates JavaScript as HTML attribute values, in turn making HTML attributes dynamic. For the sake of historical reference (if there's such a thing online, this tutorial will remain viewable for now).

An example of a typical HTML attribute would be:

<body background="test.gif">

In the above, "background=..." would be the HTML attribute, while "test.gif" would be the HTML attribute value.

Now, what I'm proposing JavaScript entities could do is directly replace the static value "test.gif" inside any HTML attribute with a JavaScript variable or statement, giving the value the ability to "think" and change dynamically.